ZF-Commons / ZfcUserDoctrineORM

Doctrine2 ORM storage adapter for ZfcUser.
BSD 3-Clause "New" or "Revised" License
89 stars 92 forks source link

Custom entities still rely on provided definitions #1

Closed TomHAnderson closed 12 years ago

TomHAnderson commented 12 years ago

When using custom doctrine entities the app still relies on provided entities when initializing.

config: 'user_model_class' => 'Entities\Users', 'usermeta_model_class' => 'Entities\UsersMeta',

Startup: Fatal error: Uncaught exception 'Doctrine\ORM\ORMException' with message 'Column name user_id referenced for relation from ZfcUserDoctrineORM\Entity\UserMeta towards Entities\Users does not exist.

If I change the supplied ~/config/xml/ZfcUserDoctrineORM.Entity.UserMetaMappedSuperClass.orm.xml to match the key and ref I add to my primary and foreign keys it works fine.

I am converting my app to use submodules and pulling from this and having it work of the shelf is my goal.

Tom

ghost commented 12 years ago

Issue is outdated.