[Zope-CMF] failIfLocked problem

Kevin Carlson khcarlso@bellsouth.net
Thu, 4 Apr 2002 09:59:55 -0500


Hi Dieter,

I looked there and no locks are present.  A couple of interesting things to
note about this particular snag:  I created a new product for CMF from a
ZClass which inherits from CMFCore:PortalFolder and
CMFDefault:DefaultDublinCoreImpl.  In the CMF product, the "initial view
name" field is set to metadata_edit_form.  This is where the problem started
occurring.

The metadata_edit_form is what was returning the failIfLocked exception.
When I changed the "initial view name" field to folder_edit_form, I could
successfully set the title field on the folder.  So it seems that my problem
is somewhat solved, but it is curious that I cannot edit Dublin core
metadata for the folder...

Are there particular rules regarding inheritance for new ZClasses?  Should I
not inherit from CMFDefault:DefaultDublinCoreImpl in certain instances?

Thanks,

Kevin

-----Original Message-----
From: zope-cmf-admin@zope.org [mailto:zope-cmf-admin@zope.org]On Behalf
Of Dieter Maurer
Sent: Wednesday, April 03, 2002 4:55 PM
To: Kevin Carlson
Cc: zope-cmf group
Subject: Re: [Zope-CMF] failIfLocked problem


Kevin Carlson writes:
 > I have added a new portal type by implementing a ZClass.  I can add new
 > instances of the type just fine, but when I try to edit the metadata I am
 > returned an error of "failIfLocked" and the metadata remains unchanged.
I
 > have the following permissions set on the ZClass:
 >
 > Create Class Instances -> Add Portal Folders
 > Manage Properties -> Add Portal Folders
 >
 > I noticed that "failIfLocked" refers to a WebDAV lock, but I am not
running
 > WebDAV on this machine.
Seems, it magically is locked...

See "Webdav locks" in the Control Panel.


Dieter


_______________________________________________
Zope-CMF maillist  -  Zope-CMF@zope.org
http://lists.zope.org/mailman/listinfo/zope-cmf

See http://www.zope.org/Products/PTK/Tracker for bug reports and feature
requests