Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-27490

Exception when running config:dump-reference

    XMLWordPrintable

Details

    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

          Activity

            People

              Unassigned Unassigned
              lolautruche Jérôme Vieilledent
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: