R: [Zope] Error Value: global name 'has' is not defined
Zanotti Michele
Zanotti@apss.tn.it
Fri, 14 Sep 2001 09:08:15 +0200
Thank you Joachim: it works.
Michele
> -----Messaggio originale-----
> Da: Joachim Schmitz [mailto:js@aixtraware.de]
> Inviato: venerd=EC 14 settembre 2001 8.33
> A: Zanotti Michele
> Cc: zope-list
> Oggetto: Re: [Zope] Error Value: global name 'has' is not defined
>=20
>=20
> this is a bug in Zope-2.4.1 final, I run into it using the=20
> ZSyncer-product
> and Steve Alexander found it. Here is the fix:
>=20
> in lib/python/OFS/Traversable.py
>=20
> after line 144:
>=20
> get=3Dgetattr
> insert:
> has=3Dhasattr
>=20
> and restart Zope.
>=20
>=20
> On Thu, 13 Sep 2001, Zanotti Michele wrote:
>=20
> > Hi all,
> > I have done a little zclass, in his addForm method I have=20
> this instruction:
> >
> > <dtml-in
> >=20
> expr=3D"restrictedTraverse('/Control_Panel/Products/myProduct/my
> Class/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 )
> >
> >
>=20
> Mit freundlichen Gr=FC=DFen
>=20
> Joachim Schmitz
>=20
> AixtraWare, Ing. B=FCro f=FCr Internetanwendungen
> H=FCsgenstr. 33a, D-52457 Aldenhoven
> Telefon: +49-2464-8851, FAX: +49-2464-905163
>=20
>=20
> _______________________________________________
> Zope maillist - Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> ** No cross posts or HTML encoding! **
> (Related lists -=20
> http://lists.zope.org/mailman/listinfo/zope-announce
> http://lists.zope.org/mailman/listinfo/zope-dev )
>=20