[Zope] Version Lock Confusion
Eron Lloyd
lloyd@lancaster.lib.pa.us
Sat, 8 Dec 2001 09:57:24 -0500
Hi Dan,
It may be because the container or a higher up object is locked. You cannot
remove objects from a container that has changes stored in a version, even if
it isn't active. For example, if you add a property to the root folder while
in a version, then leave the version, you won't be able to delete any
subobjects in the entire site until you submit or discard the changes. I'm
not sure exactly where this is explained, but that's the way it currently
behaves.
HTH,
Eron
On Saturday 08 December 2001 02:16 am, Dan Shafer wrote:
> I have created a Version on my Zope site. I am not working in it at
> the moment. I try to delete a DTML document that has never been
> opened or modified in the version, but Zope won't let me delete the
> document. I get an error that looks like this:
>
> Error Type: VersionLockError
> Error Value: ("'\\000\\000\\000\\000\\000\\000\\026\\003'",
> followed by the name of my new version object.
>
> I can edit files just fine but I can't delete them.
>
> From what I read in the docs, this shouldn't be the case. So what am
> I either missing or doing wrong?