Edgewall Software
Modify

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:

  1. demo-0.12/ticket/52
  2. demo-0.12/ticket/17

The resulting error when selecting the TracLink in (1) is:

No handler matched request to /ticket/ticket

Attachments (0)

Change History (4)

comment:1 by Christian Boos, 15 years ago

Keywords: comment added
Milestone: next-major-0.1X

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.

Wiki Markup Display
comment:1[#comment:1] 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 and comment:description#Section2:ticket:52) should actually not be rendered as links (or a missing link with appropriate explanation in the link title).

comment:2 by Ryan Ollos <ryano@…>, 15 years ago

Seems I have a knack for finding problems and misinterpreting the actual defect ;)

comment:3 by Christian Boos, 14 years ago

Priority: normallow

comment:4 by Ryan J Ollos, 10 years ago

Reporter: changed from Ryan Ollos <ryano@…> to Ryan J Ollos

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The ticket will remain with no owner.
The ticket will be disowned.
as The resolution will be set. Next status will be 'closed'.
The owner will be changed from (none) to anonymous. Next status will be 'assigned'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.