#2748: Custom field labels not displaying
----------------------------+-----------------------------------------------
Reporter: [EMAIL PROTECTED] | 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/>
_______________________________________________
Trac-Tickets mailing list
[email protected]
http://lists.edgewall.com/mailman/listinfo/trac-tickets