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 exist
Also, 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.
PS: 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.