Modify ↓
#933 closed defect (wontfix)
KeyError exception in view.py. "id"
Reported by: | Owned by: | Noah Kantrowitz | |
---|---|---|---|
Priority: | normal | Component: | PrivateTicketsPlugin |
Severity: | blocker | Keywords: | |
Cc: | Trac Release: | 0.10 |
Description
with WorkFlow (=0.10dev) I get
Traceback (most recent call last): File "/usr/lib/python2.3/site-packages/trac/web/main.py", line 313, in dispatch_request dispatcher.dispatch(req) File "/usr/lib/python2.3/site-packages/trac/web/main.py", line 193, in dispatch chrome.populate_hdf(req, chosen_handler) File "/usr/lib/python2.3/site-packages/trac/web/chrome.py", line 311, in populate_hdf for category, name, text in contributor.get_navigation_items(req): File "build/bdist.linux-i686/egg/privatetickets/view.py", line 30, in get_navigation_items KeyError: 'id'
for a user belonging to group extern, where extern has only SEARCH_VIEW TICKET_CREATE and TICKET_VIEW_SELF (no wiki, no timeline, nothing)
Attachments (0)
Change History (4)
comment:1 Changed 18 years ago by
Severity: | normal → blocker |
---|
comment:2 follow-up: 4 Changed 18 years ago by
Resolution: | → wontfix |
---|---|
Status: | new → closed |
comment:3 Changed 18 years ago by
Too bad. Unless I'm able to fix this myself my company will probably decide to drop Trac in favour of some commercial product.
comment:4 Changed 18 years ago by
Replying to coderanger:
Having not looked at the workflow code, I'm not sure what is causing this. Please try with a 0.10 release version.
No chance, we need the workflow stuff. fixed this myself by inserting
if req.args.has_key('id'):
as line 30 into view.py and indenting the next two lines
Note: See
TracTickets for help on using
tickets.
Having not looked at the workflow code, I'm not sure what is causing this. Please try with a 0.10 release version. This code is very very tied to the internal workings of the ticket system, and I will not be supporting it on the workflow branch (at least until it is merged into Trac's mainline).