U4-3466 - Deleting Document Type with children fails

Created by Søren Reinke 08 Nov 2013, 21:09:36 Updated by Shannon Deminick 11 Nov 2013, 04:09:44

In V7 RC from Nuget, I get this error when deleting a Document Type that has children:

"The primary key value cannot be deleted because references to this key still exist. [ Foreign key constraint name = FK_umbracoNode_umbracoNode_id ]"}

If I delete the children first, it works.


Shannon Deminick 11 Nov 2013, 04:09:41

Fixed in rev 0be60a5c88293d9130e84da59310db108fe4897c with test.

Priority: Normal

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: