Modify ↓
Opened 14 years ago
Closed 14 years ago
#8482 closed defect (fixed)
Error: "KeyError: 'id'"
Reported by: | Sebastián Zaffarano | Owned by: | Radek Bartoň |
---|---|---|---|
Priority: | normal | Component: | DiscussionPlugin |
Severity: | normal | Keywords: | |
Cc: | Trac Release: | 0.11 |
Description
- Click in the Forums tab
- Click in a Forum name to edit it
- Select a registered user from the list in combo
- Click the button "Edit subscribers"
- Got the error:
Traceback (most recent call last): File "/opt/trac/lib/python2.6/site-packages/Trac-0.11.5-py2.6.egg/trac/web/main.py", line 444, in _dispatch_request dispatcher.dispatch(req) File "/opt/trac/lib/python2.6/site-packages/Trac-0.11.5-py2.6.egg/trac/web/main.py", line 205, in dispatch resp = chosen_handler.process_request(req) File "build/bdist.linux-i686/egg/tracdiscussion/core.py", line 112, in process_request template, data = api.process_discussion(context) File "build/bdist.linux-i686/egg/tracdiscussion/api.py", line 259, in process_discussion self._do_actions(context, actions) File "build/bdist.linux-i686/egg/tracdiscussion/api.py", line 908, in _do_actions listener.forum_changed(context, forum, context.forum) File "build/bdist.linux-i686/egg/tracdiscussion/tags.py", line 64, in forum_changed forum['id'])) KeyError: 'id'
I use the last svn version (checkouted from http://trac-hacks.org/svn/discussionplugin/0.11/). I attached a patch file.
Attachments (2)
Change History (4)
Changed 14 years ago by
Attachment: | discussionplugin-r9840.patch added |
---|
comment:1 Changed 14 years ago by
Status: | new → assigned |
---|
comment:2 Changed 14 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
also errors like this occurs in topic changes, so tracdiscussion-r9877.patch (attached) works for me
Note: See
TracTickets for help on using
tickets.
Thank you for the pactch.