On Mar 2, 2009, at 7:05 AM, David Avendasora wrote:

Hi all, mostly my future self.

When I have a relationship setup that has the following settings:
1) Owns Destination
2) Delete Rule of Deny
3) Inverse relationship is Optional (I think this should be impossible if the object is owned)

I get the following error when I try to delete an instance:

java.lang.IllegalStateException: undo: undo manager is in invalid state, undo was called with too many nested undo groups

I don't know if this impacts anything other than Java Client, but I've run into it several times and every time I search on this, I only find my posts.

Would it make sense to have a validation rule in Entity Modeler that the inverse relationship of an "Owns Destination" relationship cannot be optional?


I can't think of any case where it being optional would be correct. That sounds like a good validation. File 'em Dano.


Chuck

--
Chuck Hill             Senior Consultant / VP Development

Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems.
http://www.global-village.net/products/practical_webobjects






_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to