[Zope] How can I reset zope time???

Jens Vagelpohl jens at dataflake.org
Fri Mar 23 04:03:55 EDT 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


On 23 Mar 2007, at 09:01, robert rottermann wrote:
>>> I am not absolutely sure I understand you. I succeeded in  
>>> undoing. My
>>> problem is that zope keeps on with the date 12/12-07. The zodb does
>>> not seem to accept a timestamp that is earlier than the last
>>
>> That's what I am trying to tell you. Any undo is actually a brand-new
>> transaction that will by definition set the modification time to the
>> current time. You *cannot* get back to the old modification time  
>> using
>> Undo. This does not mean that Undo won't work at all, it will. But  
>> you
>> will not get back your old modification time.
>>
> so it migth be enough, to export the folder(s) with your sites
> remove the Data.fs to a secure place, restart zope and the reimport  
> your
> sites.

No. Import will also generate new database modification times. It  
will only make things worse.

This issue appears when product authors naively use the database  
modification time instead of defining their own field in which to  
store modification time data. They would have full control if they  
used their own time stamps. Most product authors simply don't know  
what the possible consequences are, or when/how the database  
modification timestamps are changing.

jens


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFGA4nrRAx5nvEhZLIRAlo3AJ9sAB/CpqgctBryDQD5vSvTjVqLMwCeOmUo
AUy0tEmUBi9fmTj5pWEOYm4=
=0wAy
-----END PGP SIGNATURE-----


More information about the Zope mailing list