Ticket #12821 (reopened Bug)
An exception occurs when pressing Cancel button in @@user-information
Reported by: | dorin.opris@… | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | 4.x |
Component: | Backend (Python) | Version: | 4.2 |
Keywords: | plone.app.users, personalinformation, cancelbutton, Patch | Cc: |
Description (last modified by eleddy) (diff)
- Go to Site setup--> Users and Groups
- Select an user ("Personal information" tab is displayed)
- Press Cancel button in "Personal information" tab
- Click on "Personal preferences" tab
- An exception occurs:
Traceback (innermost last): * Module ZPublisher.Publish, line 127, in publish * Module ZPublisher.mapply, line 77, in mapply * Module ZPublisher.Publish, line 47, in call_object * Module zope.formlib.form, line 782, in __call__ * Module five.formlib.formbase, line 50, in update * Module zope.formlib.form, line 745, in update * Module plone.app.users.browser.personalpreferences, line 167, in setUpWidgets * Module plone.fieldsets.form, line 33, in setUpWidgets * Module zope.formlib.form, line 408, in setUpEditWidgets * Module zope.schema._bootstrapfields, line 173, in get * Module plone.app.users.browser.personalpreferences, line 78, in get_wysiwyg_editor AttributeError: 'NoneType' object has no attribute 'getProperty'
Change History
comment:1 Changed 4 years ago by eleddy
- Status changed from new to confirmed
- Version changed from 4.1 to 4.2
- Component changed from Unknown to Backend (Python)
- Description modified (diff)
comment:2 Changed 4 years ago by kleist
Reproducable also with 4.3 coredev. And a similar exception if the "Group Memberships" tab is clicked:
Traceback (innermost last): Module ZPublisher.Publish, line 126, in publish Module ZPublisher.mapply, line 77, in mapply Module ZPublisher.Publish, line 46, in call_object Module plone.app.controlpanel.usergroups, line 753, in __call__ Module plone.app.controlpanel.usergroups, line 745, in update Module plone.app.controlpanel.usergroups, line 762, in getPotentialGroups Module plone.app.controlpanel.usergroups, line 757, in getGroups Module Products.PlonePAS.tools.groups, line 308, in getGroupsForPrincipal Module Products.PlonePAS.utils, line 174, in getGroupsForPrincipal Module Products.PluggableAuthService.plugins.ZODBGroupManager, line 142, in getGroupsForPrincipal AttributeError: 'NoneType' object has no attribute 'getId'
comment:4 Changed 3 years ago by maartenkling
- Keywords cancelbutton, Patch added; cancelbutton removed
made some changes to fix this.
comment:5 Changed 3 years ago by esteele
- Status changed from confirmed to closed
- Resolution set to fixed
Pull request has been merged.
Note: See
TracTickets for help on using
tickets.
recreated in 4.2