U4-4165 - Foreign key exceptions should be checked

Created by florian verdonck 31 Jan 2014, 11:08:11 Updated by Sebastiaan Janssen 31 Jan 2014, 12:47:47

Duplicates: U4-2356

Hi,

When you delete a parent Document Type you get an foreign key exception just blown in your face because there's a child Doc Type and you need to delete this first ...

It would be nice if Umbraco did some more checks on foreign keys before deleting items. It happens in other situations. F.ex What happens when you delete a DocType that has nodes uses this Doc Type?

Bottomline, some more checking on deleting stuff would be great. Keep up the good work!

Cheers,

Florian Verdonck

Comments

Sebastiaan Janssen 31 Jan 2014, 12:47:43

I'm sorry but I'm going to mark this as a duplicate of one of the issues you describe, any other "issues" are not actual issues until there's actual errors, you're assuming there will be errors, but I only know of the one you mention so far. We can have a look if there's actual reproducible steps to other errors relating to foreign keys :)


Priority: Normal

Type: Cosmetics

State: Duplicate

Assignee:

Difficulty: Normal

Category:

Backwards Compatible: True

Fix Submitted:

Affected versions: 7.0.2

Due in version:

Sprint:

Story Points:

Cycle: