Modify ↓
#13577 closed defect (fixed)
KeyError on custom fields
Reported by: | Massimo | Owned by: | jomae |
---|---|---|---|
Priority: | normal | Component: | AutocompleteUsersPlugin |
Severity: | normal | Keywords: | |
Cc: | Jun Omae | Trac Release: | 1.2 |
Description (last modified by )
Hi,
like discussed in the groups already, here is the bugreport.
gmessage:trac-users:fPHhL1L3rNw/tFavdro9EAAJ
With Trac-1.2.3 and TracAutocompleteUsersPlugin-0.4.6.dev0-py2.7.egg we have errors when trying to modify an existing ticket comment. Writing new comments works fine.
The error is something about our custom field "tester" that is configured like this:
[ticket-custom] test = select test.label = Test test.options = |open|done test.order = 11 test.value = tester = text tester.label = Tester tester.order = 10 tester.value =
Trac detected an internal error:
KeyError: u'field_tester'
Most recent call last:
File "/usr/lib64/python2.7/site-packages/trac/web/main.py", line 647, in _dispatch_request dispatcher.dispatch(req) File "/usr/lib64/python2.7/site-packages/trac/web/main.py", line 215, in dispatch chosen_handler = self._pre_process_request(req, chosen_handler) File "/usr/lib64/python2.7/site-packages/trac/web/main.py", line 455, in _pre_process_request chosen_handler = filter_.pre_process_request(req, chosen_handler) File "build/bdist.linux-x86_64/egg/autocompleteusers/autocompleteusers.py", line 85, in pre_process_request fixup_user_list(FIELDS_OPTION[1]) File "build/bdist.linux-x86_64/egg/autocompleteusers/autocompleteusers.py", line 82, in fixup_user_list req.args[arg] = _fixup_cc_list(req.args[arg])
Attachments (0)
Change History (4)
comment:1 Changed 5 years ago by
Trac Release: | → 1.2 |
---|
comment:2 Changed 5 years ago by
Description: | modified (diff) |
---|---|
Owner: | changed from Tetsuya Morimoto to Ryan J Ollos |
Status: | new → accepted |
comment:3 Changed 5 years ago by
Resolution: | → fixed |
---|---|
Status: | accepted → closed |
comment:4 Changed 5 years ago by
Owner: | changed from Ryan J Ollos to jomae |
---|
Note: See
TracTickets for help on using
tickets.
In 17419: