24 Aug
2001
24 Aug
'01
10:15 a.m.
I think you mean: self._p_changed = 1 Andreas ----- Original Message ----- From: "Michael R. Bernstein" <webmaven@lvcm.com> To: "Thomas Olsen" <tol@tanghus.dk> Cc: <zope-cmf@zope.org>; <zope@zope.org> Sent: Freitag, 24. August 2001 01:08 Subject: Re: [Zope] Persistent dictionaries
Unless I miss my guess, this is because Zope doesn't persist changes to mutable subobjects automatically. Dictionaries (like lists) are mutable types, so you need to inform the persistence machinery that something has changed:
self.__changed__(1)
Immutable properties, such as strings or tuples, don't have this requirement.