• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Prototype mutableArray savechanges error
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Prototype mutableArray savechanges error


  • Subject: Re: Prototype mutableArray savechanges error
  • From: Mike Schrag <email@hidden>
  • Date: Wed, 27 May 2009 15:32:15 -0400

Ok, but why does the generator creates the following:
public er.extensions.foundation.ERXMutableArray ordernummers() {
return (er.extensions.foundation.ERXMutableArray) storedValueForKey("ordernummers");
}

Is ordernummers an attribute or a to-many relationship? If it is a to-many relationship, this is normal. If this is an attribute, you have a problem. The generator just generates what you have modeled. If you model bad things, it will happily generate them.
having a mutable value isn't bad, though -- it's MUTATING that's bad, right? as long as he's doing a mutableClone of it every time he makes a change and calls setOrdernummers each time, it should be fine ... super tedious, but i would expect fine....

ms

_______________________________________________
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


  • Follow-Ups:
    • Re: Prototype mutableArray savechanges error
      • From: Chuck Hill <email@hidden>
References: 
 >Prototype mutableArray savechanges error (From: Frank Stock <email@hidden>)
 >Re: Prototype mutableArray savechanges error (From: Chuck Hill <email@hidden>)
 >Re: Prototype mutableArray savechanges error (From: Frank Stock <email@hidden>)
 >Re: Prototype mutableArray savechanges error (From: Chuck Hill <email@hidden>)
 >Re: Prototype mutableArray savechanges error (From: Frank Stock <email@hidden>)
 >Re: Prototype mutableArray savechanges error (From: Chuck Hill <email@hidden>)

  • Prev by Date: Re: Prototype mutableArray savechanges error
  • Next by Date: Re: Prototype mutableArray savechanges error
  • Previous by thread: Re: Prototype mutableArray savechanges error
  • Next by thread: Re: Prototype mutableArray savechanges error
  • Index(es):
    • Date
    • Thread