groupsservice in 2.0 -- can't add IP groups, title error issue

Bug #158384 reported by Andy Altepeter
2
Affects Status Importance Assigned to Milestone
Silva
Fix Released
Undecided
Andy Altepeter

Bug Description

When adding an IP group, I get the following traceback:

    * <FSPythonScript at /silva/service_views/Silva/add/Groups/IPGroup/add_submit_helper>
      Line 1
    * Module Products.Silva.IPGroup, line 116, in manage_addIPGroup
    * Module Products.Silva.IPGroup, line 28, in __init__

TypeError: __init__() takes exactly 2 arguments (3 given)

SilvaObjects no longer accept titles (they should be set in Metadata). Besides, groups don't have titles!

Revision history for this message
Kit Blake (kitblake) wrote :

Eric, isn't this the standart manage-after-add problem with 2.0 migration?

Revision history for this message
Eric Casteleijn (thisfred) wrote :

Not so much the manage after add, as the change to no longer include the title in the __init__() methods which was mostly thrown away anyway. Should be simple enough to fix.

Changed in silva:
assignee: nobody → aaltepet
Revision history for this message
Andy Altepeter (aaltepet) wrote :

Updated Group, IPGroup and VirtualGroup to use the new pattern for setting titles. Also, removed local get_title and get_short_title methods from these three; since the title is now in metadata, we can use the standard title methods.

Changed in silva:
milestone: none → 2.0.2
status: New → Fix Committed
Changed in silva:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.