[baseten-users] Missing relationships
Erik Aderstedt
erik at aderstedt.se
Sun May 3 17:35:24 EEST 2009
Hi!
>> I've have a model with three entities and 2 one-to-many
>> relationships between them. After importing this model using
>> BaseTen Assistant and running Introspection I find that no
>> relationships are available. Debugging using Introspection.m I find
>> that all of the entities report
>>
>> [entity hasCapability: kBXEntityCapabilityRelationships] == YES
>
> Some things that come to mind:
> – Have you marked the entities enabled in BaseTen Assistant?
> (Although you probably have since the entities have the relationship
> capability)
Yes, all entities are marked as 'BaseTen enabled'.
> – Did you quit the assistant after enabling the entities? It
> recreates some tables at that point.
This did the trick. I had been forced to "Force quit" BaseTen
Assistant several times (it would hang on quitting, perhaps due to
having been disconnected and reconnected due to sleep sessions). I
hadn't actually quit it properly ever, but doing so fixed the problem!
>
> – Are you using BaseTen 1.6.2, SVN trunk or some other version?
>
> Also, if you'd like, you can send me your data model and I'll see
> that this isn't caused by a bug in BaseTen. There is an issue with
> certain foreign key names (http://basetenframework.org/ticket/180)
> but it should only affect SVN trunk.
I'm using BaseTen 1.6.2. Thanks!
/Erik
More information about the baseten-users
mailing list