Ticket #7711 (closed Bug: fixed)
Uncaught ResourceLockedError when cutting items in folder_contents
|Reported by:||maurits||Owned by:||jfroche|
- Go to the edit tab of an item.
- Open the folder contents of its parent (maybe in a different tab).
- Select the item and cut it.
- Get an uninformative message "An error has occured".
In the error log is this traceback, which is for more informative:
2008-01-18T10:31:04 ERROR Zope.SiteErrorLog http://.../unbillable-stuff-zest/3/folder_cut Traceback (innermost last): Module ZPublisher.Publish, line 119, in publish Module ZPublisher.mapply, line 88, in mapply Module ZPublisher.Publish, line 42, in call_object Module Products.CMFFormController.FSControllerPythonScript, line 104, in __call__ Module Products.CMFFormController.Script, line 145, in __call__ Module Products.CMFCore.FSPythonScript, line 140, in __call__ Module Shared.DC.Scripts.Bindings, line 313, in __call__ Module Shared.DC.Scripts.Bindings, line 350, in _bindAndExec Module Products.CMFCore.FSPythonScript, line 196, in _exec Module None, line 10, in folder_cut - <FSControllerPythonScript at .../folder_cut used for .../unbillable-stuff-zest/3> - Line 10 Module OFS.CopySupport, line 102, in manage_cutObjects ResourceLockedError: Object "18" is locked via WebDAV
So I propose to catch this exception and show a more informative message to the end user.
- Status changed from assigned to closed
- Resolution set to fixed