mirror of
https://github.com/gnustep/libs-gdl2.git
synced 2025-04-22 12:55:44 +00:00
* EOAccess/EORelationship.m (_makeInverseRelationship): Call
-setEntity: last to avoid unwanted calls to entity -setIsEdited. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@26246 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
11005e767e
commit
5a9b97e0b9
2 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2008-03-07 Matt Rice <ratmice@gmail.com>
|
||||
|
||||
* EOAccess/EORelationship.m (_makeInverseRelationship): Call
|
||||
-setEntity: last to avoid unwanted calls to entity -_setIsEdited.
|
||||
|
||||
2008-03-07 Tim McIntosh <tmcintos@avalon.net>
|
||||
|
||||
* EOControl/EOFault.m ([+initialize]): Handle runtimes
|
||||
|
|
|
@ -1052,7 +1052,6 @@ relationships. Nil if none" **/
|
|||
NSAssert(![self isFlattened], @"Flatten Relationship");
|
||||
|
||||
inverseRelationship = [[EORelationship new] autorelease];
|
||||
[inverseRelationship setEntity: _destination];
|
||||
|
||||
name = [NSString stringWithFormat: @"_eofInv_%@_%@",
|
||||
[_entity name],
|
||||
|
@ -1085,6 +1084,8 @@ relationships. Nil if none" **/
|
|||
|
||||
[inverseRelationship setInverseRelationship: self];
|
||||
|
||||
/* call this last to avoid calls to [_destination _setIsEdited] */
|
||||
[inverseRelationship setEntity: _destination];
|
||||
EOFLOGObjectFnStop();
|
||||
|
||||
return inverseRelationship;
|
||||
|
|
Loading…
Reference in a new issue