Modify ↓
Opened 19 years ago
Closed 19 years ago
#2748 closed defect (duplicate)
Custom field labels not displaying
Reported by: | Owned by: | Jonas Borgström | |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | ticket system | Version: | 0.9.3 |
Severity: | normal | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description (last modified by )
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')
Attachments (0)
Change History (1)
comment:1 by , 19 years ago
Description: | modified (diff) |
---|---|
Resolution: | → duplicate |
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Have you configured that field in the global TracIni? In that case, this is a duplicate of #2324 and has been fixed for 0.9.4 (due in a few days). Please reopen if it's not fixed in that release.