Opened 15 years ago
Last modified 10 years ago
#9046 new defect
Cannot create a TracLink to heading in ticket description
Reported by: | Ryan J Ollos | Owned by: | |
---|---|---|---|
Priority: | low | Milestone: | next-major-releases |
Component: | wiki system | Version: | 0.12dev |
Severity: | normal | Keywords: | comment |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
Perhaps an over-extension of the intended functionality of TracLinks, but I thought I would report it just in case it is a true defect in the intended design.
One can link to a section heading in a description: comment:description#anchor
.
However, it doesn't seem to work to link to a section heading in the description field of another ticket: comment:description#anchor:ticket:num
.
For example, see:
The resulting error when selecting the TracLink in (1) is:
Attachments (0)
Change History (4)
comment:1 by , 15 years ago
Keywords: | comment added |
---|---|
Milestone: | → next-major-0.1X |
comment:2 by , 15 years ago
Seems I have a knack for finding problems and misinterpreting the actual defect ;)
comment:3 by , 15 years ago
Priority: | normal → low |
---|
comment:4 by , 10 years ago
Reporter: | changed from | to
---|
Those links are indeed defective, but the intent was never to allow to specify linking to an anchor within a comment, as the comment: links are simply shorthands to link to the comment anchor itself.
i.e.
comment:1
⇔[#comment:1]
(well, equivalent for the target, the link title is more up to the point for the comment: syntax)
Back to the original point: the examples you mentioned in those test tickets (
comment:description#Section1
andcomment:description#Section2:ticket:52
) should actually not be rendered as links (or amissing
link with appropriate explanation in the link title).