ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> zope-List
zope-List
Re: [Zope] maintaining last_modified_date when copying an object
by Jens Vagelpohl other posts by this author
Dec 17 2002 1:06PM messages near this date
[Zope] maintaining last_modified_date when copying an object | Re: [Zope] maintaining last_modified_date when copying an object
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.

jens


On Tuesday, Dec 17, 2002, at 01:32 US/Eastern, pskipworth@[...].com 
wrote:

> 
>  Hi,
> 
>  I've written a short Script (Python) to copy objects from an existing
>  Folder to a new BTree Folder. If possible, I'd like to maintain the
>  original last_modified date of the copied objects - is there a simple
>  way of doing this ?


_______________________________________________
Zope maillist  -  Zope@[...].org
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )
Thread:

Jens Vagelpohl
Paul Winkler

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved