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      (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to