[Zope] Re: verbose Security on 2.6.2?

Dieter Maurer dieter at handshake.de
Wed Sep 17 14:04:09 EDT 2003


Chris Withers wrote at 2003-9-17 13:00 +0100:
 > Allen wrote:
 > > 
 > > Using DTML but Python equivalent would also be greatly appreciated. Jsut 
 > > need a kick in the right direction.
 > 
 > object.your_property.append(your_new_value)

*DON'T*!!!!!!!!!!!!!!!

*NEVER* modify properties with something else than the official
API!

Following Chris' suggestion would seem to work but when
your object is flushed from the ZODB cache, your chance
it high that the modification will disappear again.

Reason: the persistent object did not recognize that one
of its attributes has been modified. Therefore, it does
not make the change persistent.


Dieter



More information about the Zope mailing list