#7829 closed defect (invalid)
KeyError: 'fields'
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | general | Version: | |
Severity: | normal | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
I got this when I did diff between changes in ticket.
How to Reproduce
While doing a GET operation on /ticket/19
, Trac issued an internal error.
(please provide additional details here)
Request parameters:
{'action': u'diff', 'id': u'19', 'version': u'4'}
User Agent was: Mozilla/5.0 (Windows; U; Windows NT 5.1; pt-BR; rv:1.9.0.4) Gecko/2008102920 Firefox/3.0.4
System Information
Trac | 0.11.1
|
Python | 2.5.2 (r252:60911, Jul 31 2008, 17:49:46) [GCC 4.2.3 (Ubuntu 4.2.3-2ubuntu7)]
|
setuptools | 0.6c8
|
SQLite | 3.4.2
|
pysqlite | 2.4.0
|
Genshi | 0.6dev-r960
|
mod_python | 3.3.1
|
Subversion | 1.5.1 (r32289)
|
jQuery: | 1.2.6
|
Python Traceback
Traceback (most recent call last): File "/usr/lib/python2.5/site-packages/Trac-0.11.1-py2.5.egg/trac/web/main.py", line 423, in _dispatch_request dispatcher.dispatch(req) File "/usr/lib/python2.5/site-packages/Trac-0.11.1-py2.5.egg/trac/web/main.py", line 209, in dispatch self._post_process_request(req, *resp) File "/usr/lib/python2.5/site-packages/Trac-0.11.1-py2.5.egg/trac/web/main.py", line 299, in _post_process_request resp = f.post_process_request(req, *resp) File "build/bdist.linux-x86_64/egg/mastertickets/web_ui.py", line 64, in post_process_request for field, field_data in change['fields'].iteritems(): KeyError: 'fields'
Attachments (0)
Change History (4)
comment:1 by , 16 years ago
Resolution: | → duplicate |
---|---|
Status: | new → closed |
comment:2 by , 16 years ago
Resolution: | duplicate |
---|---|
Status: | closed → reopened |
comment:3 by , 16 years ago
Resolution: | → invalid |
---|---|
Status: | reopened → closed |
Version: | 0.11.1 |
Not sure who closed this, but it is a known (long-standing) bug in the mastertickets plugin.
comment:4 by , 16 years ago
I got this too. Thanks for the MasterTickets pointer.
For future reference, the fix is on the ticket at http://trac-hacks.org, ie. th:#3920 is the right link.
Solution at ticket #3920