Log message for revision 110459:
  LP #143391: Protect against missing acl_users.hasUsers on quick start page.
  

Changed:
  U   Zope/trunk/doc/CHANGES.rst
  U   Zope/trunk/src/App/dtml/zope_quick_start.dtml

-=-
Modified: Zope/trunk/doc/CHANGES.rst
===================================================================
--- Zope/trunk/doc/CHANGES.rst  2010-04-03 15:27:17 UTC (rev 110458)
+++ Zope/trunk/doc/CHANGES.rst  2010-04-03 15:54:25 UTC (rev 110459)
@@ -144,6 +144,8 @@
 Bugs Fixed
 ++++++++++
 
+- LP #143391: Protect against missing acl_users.hasUsers on quick start page.
+
 - Fixed issue with sending text containing ':' from MailHost.
 
 - MailHost will now ensure the headers it sets are 7bit.

Modified: Zope/trunk/src/App/dtml/zope_quick_start.dtml
===================================================================
--- Zope/trunk/src/App/dtml/zope_quick_start.dtml       2010-04-03 15:27:17 UTC 
(rev 110458)
+++ Zope/trunk/src/App/dtml/zope_quick_start.dtml       2010-04-03 15:54:25 UTC 
(rev 110459)
@@ -10,7 +10,7 @@
            form_title='Zope Quick Start',
            )">
 
-<dtml-if expr="not PARENTS[0].acl_users.hasUsers()">
+<dtml-if expr="_.hasattr (PARENTS[0].acl_users, 'hasUsers') and not 
PARENTS[0].acl_users.hasUsers()">
 <div class="system-msg">
 <h3>
 You have not created any users in this Zope instance.  In order to

_______________________________________________
Zope-Checkins maillist  -  Zope-Checkins@zope.org
https://mail.zope.org/mailman/listinfo/zope-checkins

Reply via email to