Patch #2053
closed
Trac: Migration of ticket:123 or [ticket:34] do not work
Added by Karl Heinz Marbaise about 16 years ago.
Updated about 16 years ago.
Description
Things like ticket:123
or [ticket:123] or
[ticket:123 this]@ are not correctly converted into Redmine. I have attached a patch to fix this.
Files
Hi,
the line 266 of the patch is wrong, cause it will create a wiki link instead a link to an issue.
The following part
text = text.gsub(/\[ticket\:([^\ ]+)\ (.+?)\]/, '"\2":/issues/show/\1')
can be used instead to simulate the link to a particular issue using some different text.
Kind regards.
Karl Heinz Marbaise
- Status changed from New to Closed
Also available in: Atom
PDF