U4-3493 - Cannot delete a template with children

Created by Shannon Deminick 12 Nov 2013, 08:37:02 Updated by Shannon Deminick 13 Nov 2013, 00:09:22

Found this inadvertently, probably the same issue with nested doc types I fixed before due to new (correct) db constraints on the umbracoNode table with parentId.


Shannon Deminick 12 Nov 2013, 08:39:56

I see in the UI we throw a YSOD explaining that this cannot be done but when uninstalling a package it is necessary.

Also in the UI, perhaps we should remove the delete menu item if it has children?

Shannon Deminick 12 Nov 2013, 11:29:10

I've got the business logic deleting the tree with tests, now to just hide the delete menu if it has children.

Priority: Major

Type: Bug

State: Fixed

Assignee: Shannon Deminick

Difficulty: Normal


Backwards Compatible: True

Fix Submitted:

Affected versions: 7.0.0

Due in version: 7.0.0


Story Points: