[Zope] maintaining last_modified_date when copying an object

Paul Winkler pw_lists@slinkp.com
Tue, 17 Dec 2002 07:13:14 -0800


On Tue, Dec 17, 2002 at 08:06:45AM -0500, Jens Vagelpohl wrote:
> if by last modified dat you mean "bobobase_modification_time" then no, 
> there is no way. that value is generated by the underlying ZODB code 
> and cannot be set.
> 
> if you have products where you want to store a modification date it is 
> recommended that you set your own attribute and manipulate that 
> attribute instead of relying on bobobase_modification_time, over which 
> you have no control.

Note that this has been addressed in zope 3, so when zope 3
is useable you won't need to roll your own anymore. :)

-- 

Paul Winkler
http://www.slinkp.com
"Welcome to Muppet Labs, where the future is made - today!"