Modify ↓
Opened 11 years ago
Closed 11 years ago
#11540 closed defect (fixed)
Concurrent updates lead a KeyError
Reported by: | Jun Omae | Owned by: | osimons |
---|---|---|---|
Priority: | normal | Component: | CustomFieldAdminPlugin |
Severity: | normal | Keywords: | |
Cc: | Trac Release: | 0.12 |
Description
How to reproduce:
- Open two windows of browser
- Visit
admin/ticket/customfields
page on browser-1 - Visit
admin/ticket/customfields
page on browser-2 and add "new" field - Submit to click "Apply changes" on browser-1
- 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/main.py", line 522, in _dispatch_request dispatcher.dispatch(req) File "/home/jun66j5/venv/trac/0.12.5/lib/python2.4/site-packages/trac/web/main.py", 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/web_ui.py", line 117, in process_request path_info) File "/home/jun66j5/src/trac/trac-hacks/customfieldadminplugin/0.11/customfieldadmin/admin.py", line 108, in render_admin_panel current_cfield['order'] = order[current_cfield['name']] KeyError: u'new'
Attachments (0)
Note: See
TracTickets for help on using
tickets.
In 13732: