Opened 6 years ago

Closed 6 years ago

#8482 closed defect (fixed)

Error: "KeyError: 'id'"

Reported by: szaffarano Owned by: Blackhex
Priority: normal Component: DiscussionPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11


  1. Click in the Forums tab
  2. Click in a Forum name to edit it
  3. Select a registered user from the list in combo
  4. Click the button "Edit subscribers"
  5. 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/", line 444, in _dispatch_request
  File "/opt/trac/lib/python2.6/site-packages/Trac-0.11.5-py2.6.egg/trac/web/", line 205, in dispatch
    resp = chosen_handler.process_request(req)
  File "build/bdist.linux-i686/egg/tracdiscussion/", line 112, in process_request
    template, data = api.process_discussion(context)
  File "build/bdist.linux-i686/egg/tracdiscussion/", line 259, in process_discussion
    self._do_actions(context, actions)
  File "build/bdist.linux-i686/egg/tracdiscussion/", line 908, in _do_actions
    listener.forum_changed(context, forum,
  File "build/bdist.linux-i686/egg/tracdiscussion/", line 64, in forum_changed
KeyError: 'id'

I use the last svn version (checkouted from I attached a patch file.

Attachments (2)

discussionplugin-r9840.patch (1.1 KB) - added by szaffarano 6 years ago.
tracdiscussion-r9877.patch (2.0 KB) - added by kpeo 6 years ago.

Download all attachments as: .zip

Change History (4)

Changed 6 years ago by szaffarano

comment:1 Changed 6 years ago by Blackhex

  • Status changed from new to assigned

Thank you for the pactch.

Changed 6 years ago by kpeo


comment:2 Changed 6 years ago by kpeo

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

also errors like this occurs in topic changes, so tracdiscussion-r9877.patch (attached) works for me

Add Comment

Modify Ticket

as closed The owner will remain Blackhex.
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.