• 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: Sometime WebObjects drives me a little crazy!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Sometime WebObjects drives me a little crazy!


  • Subject: Re: Sometime WebObjects drives me a little crazy!
  • From: James Cicenia <email@hidden>
  • Date: Sun, 25 Jan 2009 09:50:04 -0600

Don't feel so bad. I once named a component "Request". Took me a whole day to finally figure out it was the name of the component that fubar'd it.

-James


On Jan 25, 2009, at 6:22 AM, Miguel Arroz wrote:

Hi!

Are you sure you didn't have a spelling mistake? There's no method or anything that might be accessible via key-value called "members" on EOGenericRecord.

 Yours

Miguel Arroz

On 2009/01/25, at 11:17, Jake MacMullin wrote:

Anyone know why I can't have a relationship called 'members'?

When I have a flattened many-to-many where one of the relationships is called 'members' and I try to add an object to the relationship with addObjectToBothSidesOfRelationshipWithKey(obj, "members") I get the following cryptic error message:

java.lang.IllegalArgumentException: addObjectToPropertyWithKey: the key members is not null, an NSArray or one of its subclasses - unable to add the value.

Interestingly, I also get a similar error message if I try to add the object to the other side of the relationship. However, if I change the name of my relationship to 'foo' it all works fine.

Of course it took me a few hours to figure this out.... I guess 'members' conflicts with something else.

Cheers,

Jake
_______________________________________________
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

_______________________________________________ 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

_______________________________________________ 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: Sometime WebObjects drives me a little crazy!
      • From: Mark Morris <email@hidden>
References: 
 >Sometime WebObjects drives me a little crazy! (From: Jake MacMullin <email@hidden>)
 >Re: Sometime WebObjects drives me a little crazy! (From: Miguel Arroz <email@hidden>)

  • Prev by Date: Proper way to install Eclipse/WOLips/Wonder [2]
  • Next by Date: New WOLips is Stable
  • Previous by thread: Re: Sometime WebObjects drives me a little crazy!
  • Next by thread: Re: Sometime WebObjects drives me a little crazy!
  • Index(es):
    • Date
    • Thread