Internal bookmarks are bogus in RT2

(this is for RT2, but is really a minor change, can someone running RT3 check and see if it’s an RT3 bug too?)

One of my users pointed out:

according to the HTML 4.01 spec, name and id attributes ‘must begin with
a letter ([A-Za-z]) and may be followed by any number of letters, digits
([0-9]), hyphens (“-”), underscores (“_”), colons (“:”), and periods (“.”)’

see:
http://www.w3.org/TR/html401/types.html#type-name

along these lines, RT creates wicked bogus name values for internal
bookmark values, e.g.

[1] the hash (#) is illegal.
[2] it can’t start w/ a number

to make it a valid attribute, change Ticket/Elements/ShowTransaction

[old line]

&nbsp 

[new line]

Id%>" href="#c<%$Transaction->Id%>">#

that just makes a link labeled “#” next to every comment. He wants to be able to link to specific comments, instead of just a ticket, for that. A minor improvement, but some people like that.

-Sheeri Kritzer
Systems Administrator
University Systems Group
Tufts University
617-627-3925
sheeri.kritzer@tufts.edu

Indeed. Fixed in the repository for 3.0. And you’ve even got the clickly

href anchors for each transaction ;)On Tue, Apr 29, 2003 at 12:46:50PM -0400, Sheeri Kritzer wrote:

(this is for RT2, but is really a minor change, can someone running RT3 check and see if it’s an RT3 bug too?)

One of my users pointed out:

according to the HTML 4.01 spec, name and id attributes ‘must begin with
a letter ([A-Za-z]) and may be followed by any number of letters, digits
([0-9]), hyphens (“-”), underscores (“_”), colons (“:”), and periods (“.”)’

see:
Basic HTML data types

along these lines, RT creates wicked bogus name values for internal
bookmark values, e.g.

[1] the hash (#) is illegal.
[2] it can’t start w/ a number

to make it a valid attribute, change Ticket/Elements/ShowTransaction

[old line]

&nbsp 

[new line]

Id%>" href="#c<%$Transaction->Id%>">#

that just makes a link labeled “#” next to every comment. He wants to be able to link to specific comments, instead of just a ticket, for that. A minor improvement, but some people like that.

-Sheeri Kritzer
Systems Administrator
University Systems Group
Tufts University
617-627-3925
sheeri.kritzer@tufts.edu


rt-users mailing list
rt-users@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users

Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm

Request Tracker... So much more than a help desk — Best Practical Solutions – Trouble Ticketing. Free.