bug-gnustep
[Top][All Lists]
Advanced

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

[bug #18938] Wrong nullify in ToMany relationship


From: Manuel Guesdon
Subject: [bug #18938] Wrong nullify in ToMany relationship
Date: Tue, 06 Feb 2007 12:01:57 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.2) Gecko/20040804 Galeon/1.3.17

Follow-up Comment #2, bug #18938 (project gnustep):

About the addObject:toBothSide...
There's a [object removeObject:oldObject fromPropertyWithKey:inverseKey];
(but may be you're talking about another place).
                                     
You're right about the reference but anyway, smetimes on have to add it as
propertiy: "The only exception to this rule is when the key has meaning to
the user (such as a credit card number) and therefore must be displayed in
the user interface."

So I'm inclined to think that the safest way is doing the update in 2 pass:
first nullify, next relay. It seems not too hard to store
relayAttributesInRelationship call arguments and do them after the
update/nullify pass.
I can try this if you agree.

Manuel

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?18938>

_______________________________________________
  Message posté via/par Savannah
  http://savannah.gnu.org/





reply via email to

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