• 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
relationship problem with validation
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

relationship problem with validation


  • Subject: relationship problem with validation
  • From: "Simon Ganiere" <email@hidden>
  • Date: Thu, 4 Mar 2004 09:44:58 +0100

Hello,

I have a little problem. I would like to implement the following
thing. I have a news table, a user table and a reaction table in my
db. The news must have a (and only one) user, a reaction must have a
(and only one) user and a (and only one) news, the user can have
several news and reaction. I have implemented a validation form to
create user, they must give a valid email adress, a password with at
least 6 characters.

when i tried to add a reaction and i wrote

theReaction.addObjectToBothSidesOfRelationshipWithKey(thisUser,
"users");

there is an error with the validation who says that the password
field of the user is not 6 characters longs (that's right I make a
validation system but why this appears here the user is already
created) !?!??! How do I go through this, I would like just to add a
reaction with the two relation (the news and the user).

thanks in advance

-------------------------
Simon Ganiere
http://www.simonganiere.ch
Switzerland
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.


  • Prev by Date: Re: FetchSpec seems to ignore qualifier
  • Next by Date: Login and Session
  • Previous by thread: Document Root on Win 2 K Box
  • Next by thread: RE: relationship problem with validation
  • Index(es):
    • Date
    • Thread