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

robert rottermann robert at redcor.ch
Fri Mar 23 04:01:35 EDT 2007


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

Jens Vagelpohl schrieb:
> 
> On 23 Mar 2007, at 07:41, Flemming Bjerke wrote:
>>>> But, now, not only have all my changes the date 12/12-2007 in the
>>>> undo history, every object I have changed gets this date as well!
>>>> Apparently, zope won't accept to go backward in time.
>>>>
>>>> How do I reset the zope's time?
>>>
>>> Undo is transactional, meaning an undo is actually a new transaction
>>> instead of removing an old transaction. What you are trying to do is
>>> not possible, unless you physically truncate the database.
> 
>> 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.
> 
> jens
> 

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.

just an idea
robert
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org

iD8DBQFGA4lfGaryJ0T9kUYRAoKMAJ97ooj+qxLZ5yA6kjk++w3iTj1xDgCfReFA
29pvh80BOjil2GPXxXurhdg=
=92Fr
-----END PGP SIGNATURE-----


More information about the Zope mailing list