OroPlatform Forums

Covering OroPlatform topics, including community updates and company announcements.

Forums Forums OroPlatform doctrine:schema:update ERROR

This topic contains 4 replies, has 3 voices, and was last updated by  Rodolfo 9 years, 1 month ago.

Starting from March 1, 2020 the forum has been switched to the read-only mode. Please head to StackOverflow for support.

  • Creator
    Topic
  • #36868

    Rodolfo
    Participant

    Hello!
    I have no idea why I’m getting this error, what do you guys think?

    But, look what I have in MySQL:

    More information:
    1) I cleaned my cache in both ‘rm -rf app/cache/*’ and ‘app/console cache:clear’ in DEV and PROD environments.

    2) I created the sales_representative field using Entity Management.

    Thanks!
    Rodolfo

Viewing 4 replies - 1 through 4 (of 4 total)
  • Author
    Replies
  • #36869

    Andrey Mishchenko
    Participant

    Hello, Rodolfo

    This answer might help you http://stackoverflow.com/a/21030216/1667170

    #36870

    Rodolfo
    Participant

    Hi @krlove

    Thank for your answer but I’m running as root with all privileges:

    #36871

    Yurii Muratov
    Participant

    Hi @rbandeira.

    As I understood, sales_representative field is the custom field you made from the UI?
    After you add this field did you push Update schema button or you run app/console doctrine:schema:update –force without this step?

    If you push this button, please check in file app/cache/dev/oro_entities/Extend/Entity/EX_OroCRMContactBundle_Contact.php thereis protected $sales_representative and getters/setters for this variable?

    #36872

    Rodolfo
    Participant

    Hi @yurio

    Unfortunately I can’t reproduce this again. I’ve deleted these fields using the UI to solve my problem.

    I got two problems trying to simulate again and opened an issue on github/platform.

    Thanks for your effort.
    Rodolfo

Viewing 4 replies - 1 through 4 (of 4 total)

The forum ‘OroPlatform’ is closed to new topics and replies.

Back to top