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:

  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/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)

Change History (1)

comment:1 Changed 11 years ago by osimons

Resolution: fixed
Status: newclosed

In 13732:

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

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain osimons.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


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

 
Note: See TracTickets for help on using tickets.