[baseten-users] To-many relationship
Daniel Brajkovic
daniel at brajkovic.com
Tue Jul 7 23:10:44 EEST 2009
I am trying to do something I thought would be easy.
I have two BXSynchronizedArrayControllers each bound to a
BXDatabaseContext. And one is bound to the selection to another. The
relationship is a one to many relationship.
I have an add button that is bound to the dependent array controller.
When I try to add a record, this is the error I get.
2009-07-07 15:07:30.337 TestPGO (BaseTenAppKit) [17449]
BXDatabaseContext.m:1386 -[BXDatabaseContext(Queries)
createObjectForEntity:withFieldValues:error:] [0x4088d0m] ERROR:
users was specified in value dictionary, but only to-one relationships
are allowed.
2009-07-07 15:07:30.337 TestPGO[17449:10b] Failed to create new object
I've typed no custom code. This is all interface builder.
Thoughts?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.basetenframework.org/pipermail/baseten-users/attachments/20090707/31f04dbc/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2423 bytes
Desc: not available
URL: <http://lists.basetenframework.org/pipermail/baseten-users/attachments/20090707/31f04dbc/attachment.bin>
More information about the baseten-users
mailing list