プロジェクト

全般

プロフィール

Vote #76584

未完了

project:someproject wiki syntax should link to project with identifier "someproject', not name.

Admin Redmine さんがほぼ4年前に追加. ほぼ4年前に更新.

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

0%

予定工数:
category_id:
26
version_id:
0
issue_org_id:
20397
author_id:
132349
assigned_to_id:
0
comments:
6
status_id:
1
tracker_id:
1
plus1:
2
affected_version:
closed_on:
affected_version_id:
ステータス-->[New]

説明

Current code tries to match identifier OR name, which can lead to 'mislinks', as described in the first post of this thread: message#47879

I have several projects on Redmine, let's say one of them has identifier "some-identifier-1" and name "project", and the other has identifier "project" and name "project".

I'd like to link to project page (not wiki page!) of project with identifier "project"
[...]
Linking to project:project links to project with identifier "some-identifier-1", because my Redmine (2.4.2.stable from Ubuntu 12.04) code tries to match identifier OR name, and that's the first project it finds.

I propose this patch to take only project's identifier into account when creating wiki links.


journals

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

--------------------------------------------------------------------------------
+1 I have also bug with name, I prefer also to use textual identifier, we don't have access to the numeric id
--------------------------------------------------------------------------------
+1
--------------------------------------------------------------------------------
Folks, are there any updates?
--------------------------------------------------------------------------------

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


related_issues

relates,Closed,30256,Cannot make cross-project wiki link if the project name includes square brackets

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

いいね!0
いいね!0