Edgewall Software
Modify

Opened 19 years ago

Closed 19 years ago

#2748 closed defect (duplicate)

Custom field labels not displaying

Reported by: bens@… 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 Christopher Lenz)

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 Christopher Lenz, 19 years ago

Description: modified (diff)
Resolution: duplicate
Status: newclosed

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.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Jonas Borgström.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Jonas Borgström to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.