dataflake.org

Home Documentation Software Old Stuff Bug Reporting

Add Entry to: can't change password when user have no roles in plone (Resolved)

Issue can't change password when user have no roles in plone (bug report)
Posted 2005/12/21 by Junyong Pan
When user without any stored roles change his password in plone, exception raised: [skip] * * Module Products.GroupUserFolder.LDAPUserFolderAdapter, line 137, in _doChangeUser * Module Products.LDAPUserFolder.LDAPUserFolder, line 1497, in manage_editUserRoles KeyError: 'cn=panjy,ou=people,dc=game,dc=corp,dc=netease,dc=com' And I found the following fix works: if self._local_groups: if len(role_dns) == 0: + if self._groups_store.has_key(user_dn): del self._groups_store[user_dn]


Full name
Email address