• 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
ERTags Question.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ERTags Question.


  • Subject: ERTags Question.
  • From: James Cicenia <email@hidden>
  • Date: Sun, 10 Jun 2012 18:15:53 -0500

If I have the following model type:

Parent: Tags

Object A --->> Child B -->> Tags (a,b,c)
--->> Child C -->> Tags (a,b,d)

Should it allow tags a and b to tag both Child B and C ?

When I try to do that if gives me a duplicate error as if
it is trying to insert the tags into the parent corpus of tags
and not the relationship.


errorcom.webobjects.eoaccess.EOGeneralAdaptorException: EvaluateExpression failed: <com.webobjects.jdbcadaptor._MySQLPlugIn$MySQLExpression: "INSERT INTO ERTag(name, id) VALUES (?, ?)" withBindings: 1:"unit 2"(name), 2:4134(id)>:
    Next exception:SQL State:23000 -- error code: 1062 -- msg: Duplicate entry 'unit 2' for key 'uniqueTagName'


Am I missing the concept or is there something else wrong?

Thanks
James



 _______________________________________________
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

  • Prev by Date: Re: I am going to write a WO book
  • Next by Date: ERTags and any CAPS: Fail
  • Previous by thread: Re: Creating Wonder D2W Application using WOLips without ERModernLook?
  • Next by thread: ERTags and any CAPS: Fail
  • Index(es):
    • Date
    • Thread