This topic contains 14 replies, has 7 voices, and was last updated by Mike Kudelya 7 years, 9 months ago.
- Topic
Hi there,
we have been running into an issue, that the new “phone” attribute for User is not recognized in the application after upgrading OroPlatform from 1.3 to 1.7.0:
Neither the property “phone” nor one of the methods “getPhone()”, “isPhone()”, “hasPhone()”, “__get()” exist and have public access in class “Oro\Bundle\UserBundle\Entity\User”.
The field was added to oro_user table in mysql though.
After some investigation we *think* the reason might be, that this field is not “registered” in oro_entity_config_field table. On local dev environment and also on a dedicated testing environment, this field exists (on those environments we do not get the error message), on production it does not. Investigating deeper showed that several other fields are missing as well and on the other hand, several fields exist on production that do not exist on freshly setup dev environment.
Is there a chance to fix this and if so, how? We checked the documentation regarding EntityConfigBundle, EntityExtendBundle etc and also tried running some of the commands (after database backup of course), e.g. oro:entity-config:debug (but there was no output of fields at all? seems to be “broken”?), but did not succeed. Is there any advice how to cleanup and update the entity configuration in the database?
Thanks for help,
Andes
The forum ‘OroPlatform – Installation/Technical Issues or Problems’ is closed to new topics and replies.