Edgewall Software
Modify

Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#7829 closed defect (invalid)

KeyError: 'fields'

Reported by: carlos.migliavacca@… Owned by:
Priority: normal Milestone:
Component: general Version:
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API 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 anonymous, 11 years ago

Resolution: duplicate
Status: newclosed

Solution at ticket #3920

comment:2 by Noah Kantrowitz, 11 years ago

Resolution: duplicate
Status: closedreopened

comment:3 by Noah Kantrowitz, 11 years ago

Resolution: invalid
Status: reopenedclosed
Version: 0.11.1

Not sure who closed this, but it is a known (long-standing) bug in the mastertickets plugin.

comment:4 by Marcus Lindblom <macke@…>, 11 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.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The ticket will remain with no owner.
The resolution will be deleted. Next status will be 'reopened'.
to as closed The owner will be changed from (none) to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.