Details
-
Bug
-
Resolution: Fixed
-
High
-
1.7.3, 1.9.1, 1.10.0-beta2
-
None
Description
When running config:dump-reference command with a stale cache (i.e. container being recompiled), the following exception occurs:
[RuntimeException] Main config parser is already instantiated Exception trace: () at /Users/lolautruche/workspace/ez/ezpublish-kernel/eZ/Bundle/EzPublishCoreBundle/DependencyInjection/EzPublishCoreExtension.php:532 eZ\Bundle\EzPublishCoreBundle\DependencyInjection\EzPublishCoreExtension->addConfigParser() at /Users/lolautruche/workspace/ez/ezplatform/vendor/ezsystems/repository-forms/bundle/EzSystemsRepositoryFormsBundle.php:32 EzSystems\RepositoryFormsBundle\EzSystemsRepositoryFormsBundle->build() at /Users/lolautruche/workspace/ez/ezplatform/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Command/AbstractConfigCommand.php:128 Symfony\Bundle\FrameworkBundle\Command\AbstractConfigCommand->initializeBundles() at /Users/lolautruche/workspace/ez/ezplatform/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Command/AbstractConfigCommand.php:56 Symfony\Bundle\FrameworkBundle\Command\AbstractConfigCommand->findExtension() at /Users/lolautruche/workspace/ez/ezplatform/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Command/ConfigDumpReferenceCommand.php:88 Symfony\Bundle\FrameworkBundle\Command\ConfigDumpReferenceCommand->execute() at /Users/lolautruche/workspace/ez/ezplatform/vendor/symfony/symfony/src/Symfony/Component/Console/Command/Command.php:264 Symfony\Component\Console\Command\Command->run() at /Users/lolautruche/workspace/ez/ezplatform/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php:887 Symfony\Component\Console\Application->doRunCommand() at /Users/lolautruche/workspace/ez/ezplatform/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php:223 Symfony\Component\Console\Application->doRun() at /Users/lolautruche/workspace/ez/ezplatform/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Console/Application.php:81 Symfony\Bundle\FrameworkBundle\Console\Application->doRun() at /Users/lolautruche/workspace/ez/ezplatform/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php:130 Symfony\Component\Console\Application->run() at /Users/lolautruche/workspace/ez/ezplatform/app/console:29
This is due to the fact that this command forces the bundles build process in order to get the definition of their semantic configuration.
Attachments
Issue Links
- links to