[Zope] Inconsistent property values
Dieter Maurer
dieter@handshake.de
Wed, 16 Jul 2003 21:35:07 +0200
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