You are here: Home / Documentation / How To's / How to remove WebDAV locks

How to remove WebDAV locks

by nguyen — published Sep 21, 2011 01:30 PM, last modified Aug 16, 2016 10:50 AM
if you get the error "ResourceLockedError"

I was adding a String field to a PloneFormGen form and somehow the form itself stopped rendering correctly, giving the equivalent of an error 404 (page not found).

I went to the site's undo_form but was unable to find a combination of recent transactions to undo; I'd always get a duplicate transaction ID error, or the one about subsequent transactions having modified the transaction I wanted to undo.

Looking at the form via the ZMI (appending /manage_main to the form's URL), I could see the offending string field I wanted to delete.  Selecting it, then clicking the Delete button would give me that ResourceLockedError consistently, which has a message about there being a WebDAV lock on the form.

With Google, I found this page: 

http://plone.org/documentation/manual/plone-community-developer-documentation/functionality/locks

which links to this page:

http://destefano.wordpress.com/2009/01/15/more-fun-with-plone-locks/

which links to this page:

http://destefano.wordpress.com/2008/12/05/unlocking-locked-plone-objects/

I went to this page:

http://plone3.webcluster.uwosh.edu:15082/Control_Panel/DavLocks/manage_main

and although the page said there were no locked items, I gave it a path to search from: Intranet

and then it found the one locked item within that site.  I checked the box next to it, and clicked the Unlock button.  Done!

 

Navigation