Ticket #3344 (closed defect: fixed)

Opened 5 months ago

Last modified 5 months ago

KeyError: 'fields'

Reported by: anonymous Assigned to: coling
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

Change History

07/08/08 07:19:21 changed by coling

  • release changed from 0.10 to 0.11.
  • status changed from new to assigned.

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

07/08/08 16:55:37 changed by coling

  • status changed from assigned to closed.
  • resolution set to fixed.

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


Add/Change #3344 (KeyError: 'fields')




Change Properties
Action