Hello,

Before reporting that as a bug to Apple, I want to be sure that I did not do anything wrong.
I have the following data model :
An entity "Wrapper", which is a superentity of "SubWrapper".
The "Wrapper" has a bidirectional relationship to another entity "Item". Period. When I check the data model, I observe something strange : Wrapper recognizes SubWrapper as a subentity, while SubEntity does *not* recognize Wrapper as its superentity.

Here is a (filtered) output :

Wrapper entity : (<NSEntityDescription: 0x161290>) name Wrapper, managedObjectClassName Wrapper, isAbstract 1, superentity name (null), }, subentities {SubWrapper = (<NSEntityDescription: 0x1612f0>) name SubWrapper, managedObjectClassName SubWrapper, isAbstract 0, superentity name Wrapper}}

SubWrapper entity : (<NSEntityDescription: 0x160690>) name SubWrapper, managedObjectClassName SubWrapper, isAbstract 0, superentity name (null))

Wrapper subentities : (
(<NSEntityDescription: 0x1612f0>) name SubWrapper, managedObjectClassName SubWrapper, isAbstract 0, superentity name Wrapper)

SubWrapper superentity : (null)

Wrapper subentities names : ( SubWrapper)

Is subWrapper a subentity of Wrapper : 1

Is Wrapper the superentity of SubWrapper : 0

What could I have done wrong ?
Here  is the minimal project that I use :

http://ktd.club.fr/programmation/fichiers/BugCoreData.zip

Regards,

Pierre Chatelier



_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

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

Reply via email to