This topic contains 2 replies, has 1 voice, and was last updated by mattsches 8 years, 10 months ago.
- Topic
Hi there,
I’m using Oro CRM/OroPlatform 1.6 and have a problem creating a manyToMany relation between the User entity and a custom entity (let’s call it Category) – or, to be more precise, after creating a relation.
Doesn’t matter if I create it by ways of a migration or in the UI – I always end up with an exception when trying to update the entity config or the schema (and even on the login screen).
12[ReflectionException]Property Oro\Bundle\UserBundle\Entity\User::$default_categories does not existAlso, it seems like when creating the manyToMany relation, a field oro_user.default_categories_id is added ( – in addition to the mapping table).
Clearing caches does not help, somehow the $default_categories metadata is always recreated. But I have no idea where it comes from. It’s not to be found in the data field for the respective entity (User) oro_entity_config.
Any pointers?
Regards,
MatthiasPS: I would prefer to create the relation in a migration, but currently I’m using the UI. Is there any difference between the two?
The forum ‘OroPlatform – Programming Questions’ is closed to new topics and replies.