Ticket #7498 (new defect)

Opened 3 years ago

Last modified 2 years ago

Items with capital names cannot be assigned a parent group

Reported by: piperad Assigned to: cbalan
Priority: normal Component: MenusPlugin
Severity: normal Keywords:
Cc: thm Trac Release: 0.11

Description

I ran into this with http://trac-hacks.org/wiki/TimingAndEstimationPlugin which yields 'mainnav', "Billing". I can enabled/disable this item, but cannot assign it to another parent menu. This seems to be because of the capital; if I hack that plugin to yield "billing" then everything works fine.

Attachments

Change History

08/17/10 23:27:27 changed by rjollos

I have a similar issue for items defined with the TracTabPlugin. I haven't dealt with it in a while, but from my notes, the solution I came up with appears to be the following:

  • Redefine the label for entries created in [tractab] by setting its parent to none, and then creating a new entry with the desired label and properties: enabled = 1, href, order, and perm.

01/04/11 18:11:00 changed by thm

  • cc set to thm.

Marked #4292 as a duplicate.

02/16/11 19:20:22 changed by bobbysmith007

The problem is that MenusPlugin uses trac.ini keys (which are downcased) to refer to urls which are case sensitive. A more general solution would be to allow the key to specify its casing as an optional value (eg: billing.casing=Billing).

Either way, to ease this, I have changed TimingAndEstimationPlugin to use "billing" instead of "Billing".

HTH, Russ

[9866] #8506


Add/Change #7498 (Items with capital names cannot be assigned a parent group)




Change Properties
Action