objective c - CoreData: deleteObject faults on relationships when nil -


We have a project in which there are two relationships when we try to delete the original object, we make a core data mistake Let's face it. This only happens when the child's relationship is empty, for example:

There are many dos and messages in a project. If we create a project and add a message and one to it, and later call the deleted object on the managed object contexts, then we have no problem. But if we make a new project and then ever try to call deleteObject without making any to-dock or message, then we run in the relation fault.

We cancels the deletion of the rule of inverse relationships by changing it for no-action and resolving it. have taken. This is understandable because this relationship is optional.


Comments