I’m experiencing a strange bug while trying to update my oro platform. I’m currently on version 1.8 and I decided the best way to update would be to just create a new clean oro installation and then add my source code and configs. I’m trying to update to version 3.1.0-beta in preparation for the 3.1 LTS version that is supposed to be released this month.
I was in the process on adding additional configs and libraries and I ran into an issue that I don’t know how to resolve. I downloaded ‘FOSOAuthServerBundle’, added the bundle to the kernel123$bundles = array(new FOS\OAuthServerBundle\FOSOAuthServerBundle(),);
and then added the follow lines to my config.yml123456fos_oauth_server:db_driver: ormclient_class: App\Bundle\UserBundle\Entity\Clientaccess_token_class: App\Bundle\UserBundle\Entity\AccessTokenrefresh_token_class: App\Bundle\UserBundle\Entity\RefreshTokenauth_code_class: App\Bundle\UserBundle\Entity\AuthCode
However after doing this, whenever I run schematic migrations they crash with the following error:
In RuntimeReflectionService.php line 63:
Property Oro\Bundle\UserBundle\Entity\User::$avatar does not exist
oro:entity-extend:cache:clear [–no-warmup] [-h|–help] [-q|–quiet] [-v|vv|vvv|–verbose] [-V|–version] [–ansi] [–no-ansi] [-n|–no-interaction] [-e|–env ENV] [–no-debug] [–disabled-listeners DISABLED-LISTENERS] [–current-user CURRENT-USER] [–current-organization CURRENT-ORGANIZATION] [–] <command>
ERROR: The command terminated with an exit code: 1.
> Oro\Bundle\EntityConfigBundle\Migration\UpdateEntityConfigMigration – skipped
> Oro\Bundle\EntitySerializedFieldsBundle\Migration\SerializedDataMigration – skipped
> Oro\Bundle\EntityExtendBundle\Migration\UpdateExtendConfigMigration – skipped
> Oro\Bundle\ActivityContactBundle\Migration\ActivityContactMigration – skipped
> Oro\Bundle\ActivityListBundle\Migration\ActivityListMigration – skipped
> Oro\Bundle\EntityExtendBundle\Migration\UpdateExtendIndicesMigration – skipped
> Oro\Bundle\EntityConfigBundle\Migration\WarmUpEntityConfigCacheMigration – skipped
In MigrationExecutor.php line 116:
Failed migrations: Oro\Bundle\EntityExtendBundle\Migration\RefreshExtendCacheMigration.
and I’m very confused becuase I don’t understand how adding FOSOAuthServerBundle is related to generetating extend entities. I thougth that maybe the FOSOAuthServerBundle is overriding something important but I wasn’t able to find out anything useful.
I know that I’m running a beta version but I’m at my wits end and don’t know how to solve this problem. I would appreciate any help.
Thank you for your time
The forum ‘OroCRM’ is closed to new topics and replies.