Opened 8 years ago

Closed 8 years ago

#3344 closed defect (fixed)

KeyError: 'fields'

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


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\", line 423, in  _dispatch_request  
 File "d:\xampplite\python24\lib\site-packages\Trac-0.11-py2.4.egg\trac\web\", line 208, in  dispatch  
 File "d:\xampplite\python24\lib\site-packages\Trac-0.11-py2.4.egg\trac\web\", line 299, in  _post_process_request  
 File "build\bdist.win32\egg\clients\", 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 8 years ago by coling

  • Status changed from new to assigned
  • Trac Release changed from 0.10 to 0.11

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

comment:2 Changed 8 years ago by coling

  • Resolution set to fixed
  • Status changed from assigned to closed

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

Add Comment

Modify Ticket

as closed The owner will remain coling.
The resolution will be deleted. Next status will be 'reopened'.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.