Ticket #11187 (closed Bug: fixed)

Opened 4 years ago

Last modified 4 years ago

Better message when you cannot delete a locked item

Reported by: cwainwright Owned by: kiorky
Priority: minor Milestone: 4.0.1
Component: Templates/CSS Version:
Keywords: TuneUp36 forcommit green-belt Cc:

Description

Try to delete the item from folder_contents. The portal message only says: <object> could not be deleted when the object is locked. The user should be told it is because of a (dav)lock.

This is from #8419, this ticket is for Plone 4.

patch is attached to #8419

Attachments

fail.png Download (68.9 KB) - added by kiorky 4 years ago.
old behaviour
success.png Download (71.2 KB) - added by kiorky 4 years ago.
after patch

Change History

comment:1 Changed 4 years ago by kiorky

  • Status changed from new to assigned
  • Owner set to kiorky

comment:2 Changed 4 years ago by kiorky

This bug is a bit tricky to reproduce, so no test case will be provided for the resolution.

Here is how i reproduce it:

Open cadaver, and lock the item. Open the folder container to /@@folder_contents Try to delete it.

You ll have the first screen-shot on error. And the second when the bug is resolved.

Changed 4 years ago by kiorky

old behaviour

comment:3 Changed 4 years ago by kiorky

  • Keywords green-belt added; newbie removed

Changed 4 years ago by kiorky

after patch

comment:4 Changed 4 years ago by kiorky

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

comment:5 Changed 4 years ago by jessilfp

  • Keywords TuneUp36 added; TuneUp removed
Note: See TracTickets for help on using tickets.