Ticket #7711 (closed Bug: fixed)

Opened 9 years ago

Last modified 7 years ago

Uncaught ResourceLockedError when cutting items in folder_contents

Reported by: maurits Owned by: jfroche
Priority: minor Milestone: 3.1.5
Component: General Version:
Keywords: Cc:


  • 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.

Change History

comment:1 Changed 9 years ago by maurits

This refs #2583 btw, which solved a similar issue four years ago.

comment:2 Changed 9 years ago by jfroche

  • Status changed from new to assigned

comment:3 Changed 8 years ago by maurits

  • Status changed from assigned to closed
  • Resolution set to fixed

Fixed in r22068 on Products.CMFPlone branch 3.1 and merged to trunk in r22069.

comment:4 Changed 7 years ago by hannosch

  • Component changed from Locking to Infrastructure

comment:5 Changed 4 years ago by davisagli

  • Component changed from Infrastructure to General
Note: See TracTickets for help on using tickets.