Modify ↓
Opened 18 years ago
Closed 18 years ago
#1782 closed defect (fixed)
Unable to view tickets when plugin enabled
| Reported by: | Owned by: | Noah Kantrowitz | |
|---|---|---|---|
| Priority: | normal | Component: | MasterTicketsPlugin |
| Severity: | blocker | Keywords: | |
| Cc: | Trac Release: | 0.11 |
Description
I get the following in my log when trying to view any ticket after enabling the MasterTickets plugin and restarting Trac.
17:26:16 Trac[__init__] ERROR: 'NoneType' object is unsubscriptable
Traceback (most recent call last):
File "/opt/trac-trunk/lib/python2.5/site-packages/Trac-0.11dev_r5823-py2.5.egg/trac/web/main.py", line 252, in dispatch
self._post_process_request(req)
File "/opt/trac-trunk/lib/python2.5/site-packages/Trac-0.11dev_r5823-py2.5.egg/trac/web/main.py", line 317, in _post_process_request
resp = f.post_process_request(req, *(None,)*arity)
File "build/bdist.linux-i686/egg/mastertickets/web_ui.py", line 25, in post_process_request
tkt = data['ticket']
TypeError: 'NoneType' object is unsubscriptable
17:26:16 Trac[__init__] ERROR: 'field_types'
Traceback (most recent call last):
File "/opt/trac-trunk/lib/python2.5/site-packages/Trac-0.11dev_r5823-py2.5.egg/trac/web/main.py", line 434, in dispatch_request
dispatcher.dispatch(req)
File "/opt/trac-trunk/lib/python2.5/site-packages/Trac-0.11dev_r5823-py2.5.egg/trac/web/main.py", line 229, in dispatch
self._post_process_request(req, *resp)
File "/opt/trac-trunk/lib/python2.5/site-packages/Trac-0.11dev_r5823-py2.5.egg/trac/web/main.py", line 315, in _post_process_request
resp = f.post_process_request(req, *resp)
File "build/bdist.linux-i686/egg/mastertickets/web_ui.py", line 27, in post_process_request
data['field_types']['blocking'] = 'text'
KeyError: 'field_types'
Attachments (0)
Change History (2)
comment:1 Changed 18 years ago by
| Keywords: | needinfo added |
|---|
comment:2 Changed 18 years ago by
| Keywords: | needinfo removed |
|---|---|
| Resolution: | → fixed |
| Status: | new → closed |
Works now, fantastic! The only issue I had was pre-existing "blocking" values not being propagated into the "blockedby" of the parent ticket, meaning I had to modify all tickets re-link them.
Note: See
TracTickets for help on using
tickets.



Please try updating to the latest trunk.