Modify

Opened 9 years ago

Closed 9 years ago

#3344 closed defect (fixed)

KeyError: 'fields'

Reported by: anonymous Owned by: Colin Guthrie
Priority: normal Component: ClientsPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11

Description

If a ticket description is changed, one can see the differences involved. however, with the clientsplugin enabled, I get an "KeyError: 'fields'" error

Trac detected an internal error:
KeyError: 'fields'
Python Traceback
Most recent call last:
 File "d:\xampplite\python24\lib\site-packages\Trac-0.11-py2.4.egg\trac\web\main.py", line 423, in  _dispatch_request  
 File "d:\xampplite\python24\lib\site-packages\Trac-0.11-py2.4.egg\trac\web\main.py", line 208, in  dispatch  
 File "d:\xampplite\python24\lib\site-packages\Trac-0.11-py2.4.egg\trac\web\main.py", line 299, in  _post_process_request  
 File "build\bdist.win32\egg\clients\client.py", line 29, in  post_process_request  

I guess it's trying to add the client textboxes as url starts with "/ticket/" (/ticket/1?action=diff&version=2)

Attachments (0)

Change History (2)

comment:1 Changed 9 years ago by Colin Guthrie

Status: newassigned
Trac Release: 0.100.11

Hmm, yeah I think your analysis is correct. I'll take a look. Thanks.

comment:2 Changed 9 years ago by Colin Guthrie

Resolution: fixed
Status: assignedclosed

(In [3988]) Add a check to make sure the key 'fields' exists before trying to access it. Closes #3344

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Colin Guthrie.
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.