this is a bug in Zope-2.4.1 final, I run into it using the ZSyncer-product and Steve Alexander found it. Here is the fix: in lib/python/OFS/Traversable.py after line 144: get=getattr insert: has=hasattr and restart Zope. On Thu, 13 Sep 2001, Zanotti Michele wrote:
Hi all, I have done a little zclass, in his addForm method I have this instruction:
<dtml-in expr="restrictedTraverse('/Control_Panel/Products/myProduct/myClass/property sheets/common/myProperties').getProperty('types')"> In Zope 2.3.3 everything works, but in Zope 2.4.1 I have this error: Error Type: NameError Error Value: global name 'has' is not defined <!-- <snip> Can you help me? Many thanks Michele
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Mit freundlichen Grüßen Joachim Schmitz AixtraWare, Ing. Büro für Internetanwendungen Hüsgenstr. 33a, D-52457 Aldenhoven Telefon: +49-2464-8851, FAX: +49-2464-905163