Opened 6 months ago

Closed 4 months ago

#11540 closed defect (fixed)

Concurrent updates lead a KeyError

Reported by: jun66j5 Owned by: osimons
Priority: normal Component: CustomFieldAdminPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.12


How to reproduce:

  1. Open two windows of browser
  2. Visit admin/ticket/customfields page on browser-1
  3. Visit admin/ticket/customfields page on browser-2 and add "new" field
  4. Submit to click "Apply changes" on browser-1
  5. Show the following internal error on browser-1
2014-02-03 14:36:42,090 Trac[main] ERROR: Internal Server Error:
Traceback (most recent call last):
  File "/home/jun66j5/venv/trac/0.12.5/lib/python2.4/site-packages/trac/web/", line 522, in _dispatch_request
  File "/home/jun66j5/venv/trac/0.12.5/lib/python2.4/site-packages/trac/web/", line 243, in dispatch
    resp = chosen_handler.process_request(req)
  File "/home/jun66j5/venv/trac/0.12.5/lib/python2.4/site-packages/trac/admin/", line 117, in process_request
  File "/home/jun66j5/src/trac/trac-hacks/customfieldadminplugin/0.11/customfieldadmin/", line 108, in render_admin_panel
    current_cfield['order'] = order[current_cfield['name']]
KeyError: u'new'

Attachments (0)

Change History (1)

comment:1 Changed 4 months ago by osimons

  • Resolution set to fixed
  • Status changed from new to closed

In 13732:

CustomFieldAdminPlugin: Handle possible keys mismatch with order admin. Closes #11540.

Add Comment

Modify Ticket

as closed .
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from osimons. Next status will be 'closed'.
The resolution will be deleted. Next status will be 'reopened'.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.