Actions
Defect #12930
closed404 Error when referencing different project source files in the wiki syntax
Start date:
Due date:
% Done:
0%
Estimated time:
Resolution:
Fixed
Affected version:
Description
Hi,
When posting the following message, referencing source files from two different Redmine projects, I get an invalid link: the first referenced project is kept when generating the second link, instead of using the project of the current demand.
"[...] (see project1:r30671) [...] in source file source:my_file.cpp@10371#L347"
The first generated link is: http://server/redmine/projects/project1/repository/revisions/30671 . It works fine.
The second generated link is: http://server/redmine/projects/project1/repository/revisions/10371/entry/my_file.cpp#L347. It is invalid because it refers to project1 while my demand is about another project.
If I only write the second link:
"[...] (see r30671 of project1) [...] in source file source:my_file.cpp@10371#L347"
then the generated link works fine:
http://server/redmine/projects/project2/repository/revisions/10371/entry/my_file.cpp#L347 where project2 is the current project.
Related issues
Actions