bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Fix GDL2, EODatabaseContext (-recordChangesInEditingContext)


From: Georg Fleischmann
Subject: Fix GDL2, EODatabaseContext (-recordChangesInEditingContext)
Date: Thu, 2 Sep 2010 16:41:45 +0800

Hi,

attached is a tiny patch for GDL2 (SVN from 2010-08-28) to fix an exception for 
toMany relationships.
Just a little 's' is missing.


* EOAccess/EODatabaseContext 
([EODatabaseContext(EOCooperatingObjectStoreSupport) 
-recordChangesInEditingContext]):
for isToMany relationships, call (with 's' !):
-relayAttributesInRelationship:sourceObject:destinationObjects:


Best wishes,
Georg Fleischmann

C
C  Georg Fleischmann <Georg.Fleischmann@vhf.de>
C  vhf interservice GmbH
C
C  Cenon - Graphics Software with Style
C  Computer Aided Manufacturing
C  Research and Development of Fractal Technology
C
C  Im Marxle 3, 72119 Altingen, Germany
C  the vhf group - http://www.vhf.de
C
C  fon: 07032 / 97097-0
C  fax: 07032 / 97097-50
C  eMail: service@vhf.de
C
C  Amtsgericht Stuttgart HRB 382014
C  Geschäftsleitung: Georg Fleischmann
C



*** EOAccess/EODatabaseContext.m.old    2010-08-28 18:00:17.000000000 +0800
--- EOAccess/EODatabaseContext.m        2010-09-02 16:01:45.000000000 +0800
***************
*** 2468,2474 ****
          }
          [self relayAttributesInRelationship:substitutionRel
                                 sourceObject:updatedEO
!                           destinationObject:snaps];
          continue;
        }
        if (updatedSnapValue != currentSnapValue)
--- 2468,2474 ----
          }
          [self relayAttributesInRelationship:substitutionRel
                                 sourceObject:updatedEO
!                           destinationObjects:snaps];
          continue;
        }
        if (updatedSnapValue != currentSnapValue)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]