Modify

Opened 5 years ago

Closed 5 years ago

#4251 closed defect (fixed)

AttributeError: 'DiscussionApi' object has no attribute 'get_item'

Reported by: timp@… Owned by: Blackhex
Priority: normal Component: DiscussionPlugin
Severity: blocker Keywords:
Cc: Trac Release: 0.11

Description

I get this error when creating a new forum using the Trunk of the Discussion Forum Plugin.

Changing line 889 of api.py in the latest version of the trunk from:
return self.get_item(context, 'group', ('id', 'name', 'description'),

to

return self._get_item(context, 'group', ('id', 'name', 'description'),

appears to fix it.

Attachments (0)

Change History (1)

comment:1 Changed 5 years ago by Blackhex

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

Trunk branch has been created for massive refactoring of the plugin. I fixed this particular error with last commit but there are much more regressions. Just don't use trunk until it will be ready to merge into 0.11 branch. It does't have any new features anyway.

Add Comment

Modify Ticket

Action
as closed .
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from Blackhex. Next status will be 'closed'.
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.