プロジェクト

全般

プロフィール

Vote #73196

完了

404 Error when referencing different project source files in the wiki syntax

Admin Redmine さんが3年以上前に追加. 3年以上前に更新.

ステータス:
Closed
優先度:
通常
担当者:
-
カテゴリ:
Text formatting_26
対象バージョン:
開始日:
2022/05/09
期日:
進捗率:

0%

予定工数:
category_id:
26
version_id:
68
issue_org_id:
12930
author_id:
63884
assigned_to_id:
1
comments:
2
status_id:
5
tracker_id:
1
plus1:
0
affected_version:
closed_on:
affected_version_id:
ステータス-->[Closed]

説明

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.


journals

Fixed in r11258, thanks for pointing this out.
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------


related_issues

duplicates,Closed,13000,Links to revisions not replaced after incorrect revision

Admin Redmine さんが3年以上前に更新

  • カテゴリText formatting_26 にセット
  • 対象バージョン2.2.3_68 にセット

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0