Personal tools
You are here: Home Documentation Error References 'group_' Error when assigning roles to users and/or groups
Support

Get Help

Join our chat rooms or support forums if you have more specific questions.

Plone Training
Learn how to design, build, and deploy a website in Plone through one of the numerous Plone training sessions around the world.
Find Plone training…
 
Document Actions

'group_' Error when assigning roles to users and/or groups

Warning: This item is marked as outdated.

This Error Reference applies to: Plone 2.0.x
This Error Reference is intended for: Any audience.

This error occurs when attempting to assign Roles to Groups in Plone 2.0.x when using the Debian packages for Plone installation/maintenance or you're using GRUF3.

As of this writing (2005-06-07), Debian/Sarge ships with Plone 2.0.4 combined with GRUF3. This combination will cause a 'groups_' error whenever trying to assign Roles to Groups and is documented in Ingeniweb's GRUF3 product:

http://ingeniweb.sourceforge.net/Products/GroupUserFolder/

There's a bug in Plone's folder_localrole_form in Plone 2.0.x, preventing it to work with GRUF 3. That's because group name is passed to GRUF's methods instead of group id. To solve this, you either have to fix the form by yourself (replace group_name by group_id), or wait for Plone 2.1 ;) A sample fixed form is provided in the gruf_plone_2_0 skin folder (which is NOT installed by default)."

The solution to this is to obtain the folder_localrole_form from either SVN or CVS and use that template instead of the one that ships with GRUF3.

A bug report has been filed with the package maintainer but it doesn't look like the fix made it into Sarge before its release today.

by LiquidShaneo — last modified June 12, 2005 - 12:27 All content is copyright Plone Foundation and the individual contributors.

Addendum

Posted by Damien Baty at July 4, 2005 - 22:14

I also get this error when I want to give a role to a group in the group management ("configure Plone" -> "Users and Groups Administration" -> "groups" tab). For this to work, I had to change line 19 of CMFPlone/skins/plone_prefs/prefs_group_manage.cpy to groupstool.editGroup(group, roles, None, ()). I guess GroupUserFolder.GroupsTool.editGroup() API has changed.

This method does not seem to be used anywhere else in CMFPlone, so fixing this script should be enough.


For any issues with the web site functionality, please file a ticket.

Please consult the policy on plone.org content if you want your content published on this site.

Servers and hosting by