when i delete file A and create file B (by a different name), then i cannot undo the deletion of A without also undoing the creation of B. if you ask me, this makes undoing more or less useless. isn't undo information stored per object rather than for the database? thanks for any comments or hints... -- martin; (greetings from the heart of the sun.) \____ echo mailto: !#^."<*>"|tr "<*> mailto:" net@madduck keyserver problems? http://keyserver.kjsl.com/~jharris/keyserver.html get my key here: http://madduck.net/me/gpg/publickey all information contained in the above is false, for reasons of military security.
On 24.Mai 2003 - 14:28:20, martin f krafft wrote:
when i delete file A and create file B (by a different name), then i cannot undo the deletion of A without also undoing the creation of B. if you ask me, this makes undoing more or less useless. isn't undo information stored per object rather than for the database?
I'm relatively new to zope, so if I say something wrong please correct me. The first thing to learn about Zope is that it doesn't operate on files, it works with objects! So you'll have to understand a bit about OO, the second thing is that Zope is kind of an OODatabase. And that is the answer to your question, your are deleting an element of a folder object and then creating a new one, both are database trancsactions on the same object - the folder object. So the behaviour is OK I think, as you'll have to undo transactions that were made to Object X before the delete-transaction in any database, I know. Andreas -- Be careful! UGLY strikes 9 out of 10!
also sprach Andreas Pakulat <ap125@informatik.uni-rostock.de> [2003.05.24.2204 +0200]:
The first thing to learn about Zope is that it doesn't operate on files, it works with objects! So you'll have to understand a bit about OO, the second thing is that Zope is kind of an OODatabase.
I think that Zope if more a hierarchical database than anything else.
And that is the answer to your question, your are deleting an element of a folder object and then creating a new one, both are database trancsactions on the same object - the folder object.
Well, yes... but they are not in conflict with each other. If you want to use database speak, they are serialisable. So they should not require or prevent one another... -- martin; (greetings from the heart of the sun.) \____ echo mailto: !#^."<*>"|tr "<*> mailto:" net@madduck keyserver problems? http://keyserver.kjsl.com/~jharris/keyserver.html get my key here: http://madduck.net/me/gpg/publickey "alle vorurteile kommen aus den eingeweiden." - friedrich nietzsche
participants (2)
-
Andreas Pakulat -
martin f krafft