U4-7078 - Cannot empty recyle bin when content item with public access is in there

Created by Claus Jensen 09 Sep 2015, 09:01:01 Updated by Stephan 09 Sep 2015, 11:03:45

If you delete an item using public access protection, you are unable to empty the recycle bin unless you go in there and disable the protection on the content items first.


Stephan 09 Sep 2015, 10:53:42

The DELETE fails because the node is still referenced in some tables. When it fails, the transaction is disposed twice. We get an exception because the transaction is disposed twice.

Fixed by making sure that the transaction is not disposed twice anymore. Now it just fails, without a warning nor a message, nothing.

Fixed by making sure the RecycleBinRepository re-throws on error. Now it reports the proper exception.


Stephan 09 Sep 2015, 11:03:39

Fixed e8b2f3cd0bf04c5722aef7b0a40684b596164288.

Now deletes umbracoAccessRule and umbracoAccess rows before deleting content.

Priority: Major

Type: Bug

State: Fixed

Assignee: Stephan

Difficulty: Normal


Backwards Compatible: True

Fix Submitted:

Affected versions: 7.3.0

Due in version: 7.3.0


Story Points: