Hi! Yes we did modify property values in an unofficial way. So we used the following procedure: mypropertymanager.manage_changePorperties({"myproperty":"something"}) and it works ok. Thank you very much, Miguel Lara Alday -------------------
Miguel Lara Alday wrote at 2003-7-16 15:13 +0300:
We have a python script which updates a property. When we go to see the property management form we see the correct values, but when we reload it we get sometimes the new values, sometimes the previous values and sometimes even older values. The same happened with an python script we made to display the property values we need to change. Is it some kind of object caching?
Is there a way to stop Zope from using old values of an updated property?
Apparently, you modify property values in an unofficial way. The official (and working) way is to use the "PropertyManager" API (or the related "PropertySheet" API).
Dieter
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )