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

Ibexa/Core bundle loads config in wrong order, making it impossible to set certain settings via environment variables

    XMLWordPrintable

Details

    • Yes

    Description

      In 3.3, the EzPlatformCoreExtension bundle loaded all configuration in prepend()

      In 4.x, the configuration is loaded in a mix of load() and prepend(). This was introduced by https://issues.ibexa.co/browse/IBX-1466

      The result of this is that configureGenericSetup() is called before for instance handleDefaultSettingsLoading()

      The effect is that settings in default_settings.yml overrides settings set by configureGenericSetup(). An example is that trying to set the environment variable DFS_NFS_PATH has no effect.

       
      So I think at least that default_settings.yml needs to be prepended. But it might be other side effects too so that all configuration needs to be prepended?

      Designs

        Attachments

          Activity

            People

              Unassigned Unassigned
              vidar.langseid@ibexa.co Vidar Langseid
              Votes:
              2 Vote for this issue
              Watchers:
              13 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: