[Trac-tickets] [The Trac Project] #2748: Custom field labels not
displaying
The Trac Project
noreply at edgewall.com
Fri Feb 10 16:28:53 CST 2006
#2748: Custom field labels not displaying
----------------------------+-----------------------------------------------
Reporter: bens at site9.com | Owner: jonas
Type: defect | Status: new
Priority: high | Milestone:
Component: ticket system | Version: 0.9.3
Severity: normal | Keywords:
----------------------------+-----------------------------------------------
When I assign a label for my custom fields it does not get displayed.
I traced this to line 113 of tickets/api.py. The call to self.config.get
always returns the last parameter (default value?) rather than the actual
value from the trac.ini file. If you replace the original line with the
new one below then the labels start working.
Original line:
'label': self.config.get('ticket-custom', name + '.label', '')
New line:
'label': self.config.get('ticket-custom', name + '.label')
--
Ticket URL: <http://projects.edgewall.com/trac/ticket/2748>
The Trac Project <http://trac.edgewall.com/>
More information about the Trac-Tickets
mailing list