Re: ObjectNotAvailableException: when saving a simple relationship
Re: ObjectNotAvailableException: when saving a simple relationship
- Subject: Re: ObjectNotAvailableException: when saving a simple relationship
- From: "Cheong Hee (Gmail)" <email@hidden>
- Date: Fri, 17 Jul 2009 13:31:12 +0800
If I were to try, I will activate this to see why global id for user is '0':
/* debugging database */
NSLog.allowDebugLoggingForGroups(NSLog.DebugGroupSQLGeneration);
NSLog.allowDebugLoggingForGroups(NSLog.DebugGroupDatabaseAccess);
NSLog.setAllowedDebugLevel(NSLog.DebugLevelInformational);
/* */
I already saved some information in another requiremente, usign the same
procedure, generating contents of main list, then selecting an itme of
main
list, then selecting another item of the second list and then modifing
that
last item by adding more stuff to the EO and adding the relationships and
so
on, and I had no problem
But this time using the same procedure but instead of adding more stuff Im
just adding a relationship I get this error.
THe user its being fetched from the WOPopUpList, with the same EC, so I
suspeceted it should be there. but no. :S
Also, do you use defaultEditingContext or multi-EC? In a case of multi-EC,
I will also try to check if user.editingContext() is same as ec that is in
use. It will clear doubt if both ts and user are in same ec.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden