Modify

Opened 4 years ago

Closed 4 years ago

#8480 closed defect (duplicate)

Error: "KeyError: 'id'"

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

Description

  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/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 (0)

Change History (1)

comment:1 Changed 4 years ago by szaffarano

  • Resolution set to duplicate
  • Status changed from new to closed

Duplicated ticket, I'm sorry.

Add Comment

Modify Ticket

Action
as closed The owner will remain Blackhex.
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.