Defect #13036
closedauto generated comment "Applied in changeset xxx" is not link to commit
Description
It should be:
"Applied in changeset commit:repoid|hash."
Not:
"Applied in changeset repoid|commit:hash."
Files
Updated by Dietmar H almost 14 years ago
I can confirm this.
I guess the extended syntax is intentional, because now more then 1 repository per project are allowed. With svn repos, that means the repo must be included in the commit macro in order to uniquely identify the commit.
However the macro isn't expanded to a link if it contains the repo.
Redmine version here: 2.2.2.stable
Updated by Dietmar H almost 14 years ago
seems to be a duplicate of #13005
Updated by Bảo Gia almost 14 years ago
Updated by Bảo Gia almost 14 years ago
Dietmar Hofer wrote:
I guess the extended syntax is intentional, because now more then 1 repository per project are allowed. With svn repos, that means the repo must be included in the commit macro in order to uniquely identify the commit.
No. This is a bug, not "intentional".
It should be "commit:repoid|hash" (have repoid => can support >1 repo per project)
Updated by A B over 13 years ago
Updated by Daniel Felix over 13 years ago
Thanks for providing a patch!
I would like to test it but I can't. I'm currently at hospital. Maybe someone can check this. Maybe this one could find its way in 2.2.4/2.3 in a fast pace if it could be evaluated! :-)
Updated by Viktor Berke about 13 years ago
Hi, I can confirm this bug. I've tested both patches (i.e. this one and the one from #12685) on Redmine 2.4.0, they both work. Please merge this.
Updated by Viktor Berke about 13 years ago
- File cs_mod.patch cs_mod.patch added
Though I suggest some logical cleanup, i.e. | is not part of the repo id. The very slightly modified patch is attached.
Updated by Toshi MARUYAMA over 11 years ago
- Status changed from New to Closed
- Resolution set to Duplicate
Fixed by #13544.
Updated by Toshi MARUYAMA over 11 years ago
- Is duplicate of Defect #13544: Commit reference: autogenerated issue note has wrong commit link syntax in multi-repo or cross-project context added