[Zope] Are Versions evil?

Jerome R. Westrick jerry at westrick.com
Thu Jul 15 03:49:41 EDT 2004


On Thu, 2004-07-15 at 09:25, Mark Barratt wrote:
> Peter Sabaini wrote:
> > Has anyone had trouble using Versions recently?
> > 
> > Should I advise against using Versions in the Zope Book?
> 
> I have had problems with a Version recently in 2.6.2: work in a version, 
> accept the changes, delete the version - not the end of the story as 
> Zope believed that one folder was still locked by the version and would 
> not allow modification of material which had been in the version.
> 
> We have also had big problems with versions in the root.
> 
> In both cases we had to rely on our Zope guru (thanks, Chris!) to poke 
> around until the problem cleared. I don't think Chris actually knew what 
> he did to fix it - certainly restarts etc didn't help.
> 
Seen this...

It seams that the list of objects in a version does not work.
therefore the release/delete etc fail to get all items...

I was in the same the situatin descrivbed above...

I undid the release, the released each modified file individually,
then it worked.

Seams such a pity to through away such a usefull feature, because of
such a small bug...

But then again, there you have it...

Jerry
P.S. I avoid it also.  I now copy directories, work on copy and then
rename to "Release" into production...  Almost as good for simple
applicattions...

> So a warning might be useful...



More information about the Zope mailing list