[ZCM] [ZC] 1771/ 1 Request "AttributeError for hasUsers() on alternative acl_users"

Collector: Zope Bugs, Features, and Patches ... zope-coders-admin at zope.org
Wed May 4 10:11:08 EDT 2005


Issue #1771 Update (Request) "AttributeError for hasUsers() on alternative acl_users"
 Status Pending, Zope/bug+solution medium
To followup, visit:
  http://www.zope.org/Collectors/Zope/1771

==============================================================
= Request - Entry #1 by maurice on May 4, 2005 10:11 am


Uploaded:  "zope-patch"
 - http://www.zope.org/Collectors/Zope/1771/zope-patch/view
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.
==============================================================



More information about the Zope-Collector-Monitor mailing list