Modify

Opened 13 years ago

Closed 13 years ago

#9528 closed defect (duplicate)

KeyError: 'id'

Reported by: joseph.curtis@… Owned by: Radek Bartoň
Priority: high Component: DiscussionPlugin
Severity: blocker Keywords:
Cc: Trac Release: 0.11

Description

I can set up forums fine, but when I chose to edit the subscription list, or another admin user tries to join a forum we get this keyerror ID error

How to Reproduce

While doing a POST operation on /discussion/forum/1, Trac issued an internal error.

(please provide additional details here)

Request parameters:

{'__FORM_TOKEN': u'b1339b8b5c3c65766083f984',
 'discussion_action': u'subscriptions-post-edit',
 'editsubscribers': u'Edit subscribers',
 'forum': u'1',
 'subscribers': u'hailiang',
 'unregistered_subscribers': u''}

User agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_8; en-us) AppleWebKit/533.21.1 (KHTML, like Gecko) Version/5.0.5 Safari/533.21.1

System Information

Trac 0.12
FullBlog 0.1.1-r9430
Genshi 0.6
mod_python 3.3.1
Pygments 1.2.2
pysqlite 2.4.1
Python 2.6.5 (r265:79063, Apr 16 2010, 14:15:55)
[GCC 4.4.3]
pytz 2010b
setuptools 0.6
SQLite 3.6.22
Subversion 1.6.6 (r40053)
jQuery 1.4.2

Enabled Plugins

SvnAuthzAdminPlugin 0.1.2
TracAccountManager 0.4dev-r10470
TracDiscussion 0.8
TracFullBlogPlugin 0.1.1-r9430
TracSpamFilter 0.4.7dev-r10669
TracTags 0.6

Python Traceback

Traceback (most recent call last):
  File "/usr/local/lib/python2.6/dist-packages/Trac-0.12-py2.6.egg/trac/web/main.py", line 513, in _dispatch_request
    dispatcher.dispatch(req)
  File "/usr/local/lib/python2.6/dist-packages/Trac-0.12-py2.6.egg/trac/web/main.py", line 235, in dispatch
    resp = chosen_handler.process_request(req)
  File "/usr/local/lib/python2.6/dist-packages/TracDiscussion-0.8-py2.6.egg/tracdiscussion/core.py", line 112, in process_request
    template, data = api.process_discussion(context)
  File "/usr/local/lib/python2.6/dist-packages/TracDiscussion-0.8-py2.6.egg/tracdiscussion/api.py", line 259, in process_discussion
    self._do_actions(context, actions)
  File "/usr/local/lib/python2.6/dist-packages/TracDiscussion-0.8-py2.6.egg/tracdiscussion/api.py", line 908, in _do_actions
    listener.forum_changed(context, forum, context.forum)
  File "/usr/local/lib/python2.6/dist-packages/TracDiscussion-0.8-py2.6.egg/tracdiscussion/tags.py", line 63, in forum_changed
    forum['id']))
KeyError: 'id'

Attachments (0)

Change History (2)

comment:1 Changed 13 years ago by Radek Bartoň

Status: newassigned

comment:2 Changed 13 years ago by Ryan J Ollos

Resolution: duplicate
Status: assignedclosed

Duplicate of #8981.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Radek Bartoň.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


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

 
Note: See TracTickets for help on using tickets.