I see that it will not be possible so save a context with a reference
to a deleted object. But I selected the default "Nullify" rule. So no
references should be there when deleting an object.
Should this not be recognized by the validation system when I call
validateForDelete:?
When performing directly deleteObject: it will work. (But if I
override validateForDelete to perform own validation and call super
in there => validation error from the super method call).
So my question: How to validate for deny rules/nullify rules before
deleting an object?
Thomas
Am 02.11.2007 um 07:09 schrieb mmalc crawford:
On Nov 1, 2007, at 11:01 PM, Thomas Dingler wrote:
I'm not able to delete relationships when delete rule is
"Nullify". Performing "validateForDelete" fails for each
relationship. It comes up with a validation error under Leopard.
Under Tiger it works as aspected.