> loading Oro\Bundle\CalendarBundle\Migrations\Data\ORM\AddCalendarEventActivityLists
In AddActivityListsData.php line 55:
[Error]
Undefined constant Oro\Bundle\CalendarBundle\Migrations\Data\ORM\AddCalendarEventActivityLists::BATCH_SIZE
Exception trace:
at ./vendor/oro/platform/src/Oro/Bundle/ActivityListBundle/Migrations/Data/ORM/AddActivityListsData.php:55
Oro\Bundle\ActivityListBundle\Migrations\Data\ORM\AddActivityListsData->addActivityListsForActivityClass() at ./vendor/oro/calendar-bundle/Migrations/Data/ORM/AddCalendarEventActivityLists.php:28
Oro\Bundle\CalendarBundle\Migrations\Data\ORM\AddCalendarEventActivityLists->load() at ./vendor/doctrine/data-fixtures/src/Executor/AbstractExecutor.php:123
Doctrine\Common\DataFixtures\Executor\AbstractExecutor->load() at ./vendor/oro/platform/src/Oro/Bundle/MigrationBundle/Migration/DataFixturesORMExecutor.php:45
Oro\Bundle\MigrationBundle\Migration\DataFixturesORMExecutor->execute() at ./vendor/oro/platform/src/Oro/Bundle/MigrationBundle/Migration/DataFixturesExecutor.php:55
Oro\Bundle\MigrationBundle\Migration\DataFixturesExecutor->execute() at ./vendor/oro/platform/src/Oro/Bundle/MigrationBundle/Command/LoadDataFixturesCommand.php:283
Oro\Bundle\MigrationBundle\Command\LoadDataFixturesCommand->executeFixtures() at ./vendor/oro/platform/src/Oro/Bundle/MigrationBundle/Command/LoadDataFixturesCommand.php:228
Oro\Bundle\MigrationBundle\Command\LoadDataFixturesCommand->processFixtures() at ./vendor/oro/platform/src/Oro/Bundle/MigrationBundle/Command/LoadDataFixturesCommand.php:151
Oro\Bundle\MigrationBundle\Command\LoadDataFixturesCommand->execute() at ./vendor/symfony/console/Command/Command.php:326
Symfony\Component\Console\Command\Command->run() at ./vendor/symfony/console/Application.php:1096
Symfony\Component\Console\Application->doRunCommand() at ./vendor/symfony/framework-bundle/Console/Application.php:126
Symfony\Bundle\FrameworkBundle\Console\Application->doRunCommand() at ./vendor/symfony/console/Application.php:324
Symfony\Component\Console\Application->doRun() at ./vendor/symfony/framework-bundle/Console/Application.php:80
Symfony\Bundle\FrameworkBundle\Console\Application->doRun() at ./vendor/symfony/console/Application.php:175
Symfony\Component\Console\Application->run() at ./vendor/symfony/runtime/Runner/Symfony/ConsoleApplicationRunner.php:49
Symfony\Component\Runtime\Runner\Symfony\ConsoleApplicationRunner->run() at ./vendor/autoload_runtime.php:37
require_once() at ./bin/console:16
oro:migration:data:load [--fixtures-type [FIXTURES-TYPE]] [--dry-run] [--bundles [BUNDLES]] [--exclude [EXCLUDE]] [--language [LANGUAGE]] [--formatting-code [FORMATTING-CODE]]
Expected Result platform:update runs without errors
Summary
Oro\Bundle\CalendarBundle\Migrations\Data\ORM\AddCalendarEventActivityLists
fails onplatform:update
Steps to reproduce
composer install
php bin/console oro:install
composer require oro/calendar-bundle
php bin/console oro:platform:update
Actual Result
Expected Result
platform:update
runs without errorsDetails about your environment