AttributeError for hasUsers() on alternative acl_users

Bug #143391 reported by Maurice Nonnekes
2
Affects Status Importance Assigned to Milestone
Zope 2
Fix Released
Medium
Unassigned

Bug Description

The method "PARENTS[0].acl_users.hasUsers()" is called whenever zope_quick_start.dtml is parsed. However, not all UserFolder-like products (LDAPUserFolder for example) implement this non-formal method, resulting in an AttributeError.

A simple check in the zope_quick_start.dtml for the existence of the "hasUsers" method before calling it, remedies this problem.

Revision history for this message
Maurice Nonnekes (maurice-amaze) wrote :
Changed in zope2:
status: New → Fix Committed
milestone: none → 2.13.0
Changed in zope2:
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.