Modify

Opened 8 years ago

Closed 8 years ago

#4251 closed defect (fixed)

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

Reported by: timp@… Owned by: Radek Bartoň
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 8 years ago by Radek Bartoň

Resolution: fixed
Status: newclosed

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.

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.