Opened 17 years ago
Closed 16 years ago
#2882 closed defect (fixed)
trac-link source: broken
Reported by: | anonymous | Owned by: | Sebastian Marek |
---|---|---|---|
Priority: | normal | Component: | PeerReviewPlugin |
Severity: | normal | Keywords: | trac-links |
Cc: | Trac Release: | 0.10 |
Description (last modified by )
When the Peerreview Plugin is installed are trac-links to sourcefiles are broken.
In the Wiki-text: [source:<repository-element> alternative text]
Before installing PeerReviewPlugin:
http://<trac-server>:<trac-port>/<project-name>/browser/<repository-element>
After installing PeerReviewPlugin:
http://<trac-server>:<trac-port>/<project-name>/peerReviewBrowser/<repository-element>
Versions used:
python | 2.5.1 |
trac | 0.10.4 |
svn | 1.4.3 |
PeerReviewPlugin | TracCodeReview-2.0dev |
Note:
Disabling the sub-component peerReviewBrowser (while keeping all other sub-components enabled) switches back to the expected behavior.
Attachments (1)
Change History (5)
comment:1 Changed 17 years ago by
Priority: | high → normal |
---|---|
Severity: | major → normal |
comment:2 Changed 16 years ago by
Description: | modified (diff) |
---|---|
Status: | new → assigned |
comment:3 Changed 16 years ago by
It actually break the wiki completly in trac 0.11. I think peerReviewBrowser shouldn't implement IWikiSyntaxProvider at all. Removing.
comment:4 Changed 16 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Will merge those changes to 0.11 and trunk as well.
Looking a little more into it i've found that peerReviewBrowser.py is an extender of IWikiSyntaxProvider. It wants to reformat links for 'browser', 'repos' and 'source'.
As i don't know what the intention of this is, i've commented out the 'source' part.
peerReviewBrowser.py
('source', self._format_link),Now trac-links starting with source: behave as expected. The browser: and repos: links still point to this plugin.
For what the repos: and browser: links are is unclear to me.
I hope that this is a fix or at least a workaround without to many unwanted side effects.