Uploaded image for project: 'Ibexa IBX'
  1. Ibexa IBX
  2. IBX-3921

[DX] Container builder for OSS cold cache container builder outputs 50 "Failed to generate ConfigBuilder for extension" warnings

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Medium Medium
    • 3.3.27, 4.2.2
    • 4.2.1, 3.3.26
    • Open Source
    • Ibexa Open Source

    Description

      Steps to reproduce

      1. Prepare Ibexa Open Source instance v3.3 or higher
      2. Remove Symfony cache rm -rf var/cache/*/
      3. Try to build Container by clearing cache php bin/console cache:clear

      Actual result

      Observe 50 lines of WARNING log, like

      WARNING   [app] Failed to generate ConfigBuilder for extension Symfony\Bundle\FrameworkBundle\DependencyInjection\FrameworkExtension. ["exception" => Symfony\Component\DependencyInjection\Exception\EnvNotFoundException^ { …},"extensionClass" => "Symfony\Bundle\FrameworkBundle\DependencyInjection\FrameworkExtension"]
      

      Expected result

      Cache is cleared and Container is built without warnings

      Root cause

      \EzSystems\EzPlatformCoreBundle\DependencyInjection\EzPlatformCoreExtension::configureGenericSetup
      tries to

              $container->setParameter('siso_search.solr.host', '%env(SISO_SEARCH_SOLR_HOST)%');
              $container->setParameter('siso_search.solr.port', '%env(SISO_SEARCH_SOLR_PORT)%');
              $container->setParameter('siso_search.solr.core', '%env(SISO_SEARCH_SOLR_CORE)%');
              $container->setParameter('siso_search.solr.path', '%env(SISO_SEARCH_SOLR_PATH)%');
      

      which is part of Ibexa DXP configuration and should be delegated to SisoSearchBundle (IbexaCommerceSearchBundle)

      Designs

        Attachments

          Activity

            People

              Unassigned Unassigned
              andrew.longosz@ibexa.co Andrew Longosz
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: