Modify ↓
Opened 17 years ago
Closed 17 years ago
#8076 closed defect (worksforme)
KeyError: u'4'
| Reported by: | dien_dt | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | general | Version: | 0.11.2.1 |
| Severity: | normal | Keywords: | needinfo |
| Cc: | Branch: | ||
| Release Notes: | |||
| API Changes: | |||
| Internal Changes: | |||
Description
How to Reproduce
While doing a POST operation on /admin/ticket/type, Trac issued an internal error.
(please provide additional details here)
Request parameters:
{'__FORM_TOKEN': u'aa062dfa70a7f161b18b3f5d',
'apply': u'Apply changes',
'cat_id': u'ticket',
'default': u'defect',
'panel_id': u'type',
'path_info': None,
'value_1': u'1',
'value_2': u'2',
'value_3': u'3'}
User Agent was: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.0.6) Gecko/2009011913 Firefox/3.0.6
System Information
| Trac | 0.11.2.1
|
| Python | 2.4.3 (#1, May 24 2008, 13:47:28) [GCC 4.1.2 20070626 (Red Hat 4.1.2-14)]
|
| setuptools | 0.6c9
|
| SQLite | 3.3.6
|
| pysqlite | 1.1.7
|
| Genshi | 0.5.1
|
| mod_python | 3.2.8
|
| jQuery: | 1.2.6
|
Python Traceback
Traceback (most recent call last):
File "/usr/lib/python2.4/site-packages/Trac-0.11.2.1-py2.4.egg/trac/web/main.py", line 432, in _dispatch_request
dispatcher.dispatch(req)
File "/usr/lib/python2.4/site-packages/Trac-0.11.2.1-py2.4.egg/trac/web/main.py", line 204, in dispatch
resp = chosen_handler.process_request(req)
File "/usr/lib/python2.4/site-packages/Trac-0.11.2.1-py2.4.egg/trac/admin/web_ui.py", line 113, in process_request
path_info)
File "/usr/lib/python2.4/site-packages/Trac-0.11.2.1-py2.4.egg/trac/ticket/admin.py", line 43, in render_admin_panel
return self._render_admin_panel(req, cat, page, version)
File "/usr/lib/python2.4/site-packages/Trac-0.11.2.1-py2.4.egg/trac/ticket/admin.py", line 391, in _render_admin_panel
new_value = order[enum.value]
KeyError: u'4'
Attachments (0)
Change History (2)
comment:1 by , 17 years ago
| Keywords: | needinfo added |
|---|
comment:2 by , 17 years ago
| Resolution: | → worksforme |
|---|---|
| Status: | new → closed |
No info ⇒ no fix. Please reopen if you can provide the requested information.
Note:
See TracTickets
for help on using tickets.



Well, I couldn't reproduce this.
Can you explain in more details what you did?