Details
-
Bug
-
Resolution: Fixed
-
High
-
5.1, 2013.07, 5.2-beta1, 2013.09
Description
when defining a file ezpublish_XX.yml that imports the ezpublish.yml settings, the override is not working. a new array entry is created, instead of overriding the previous value.
example:
define in ezpublish.yml the values:
ezpublish: siteaccess: match: Map\URI: ezdemo_site: ezdemo_site eng: eng ezdemo_site_admin: ezdemo_site_admin
now, define in ezpublish_dev.yml the values:
imports: - { resource: ezpublish.yml } ezpublish: siteaccess: match: Map\URI: ezdemo_site: coredumped
the behavior expected, the dev environment should show the "coredumped" siteaccess. instead, it still shows the "ezdemo_site" siteaccess.
using a simple test command will show that the new value is not overriden, is added as a new entry with a key "[0]" and value "coredumped"
protected function execute( InputInterface $input, OutputInterface $output ) { $vardump = $this->getContainer()->getParameter( 'ezpublish.siteaccess.match_config' ); var_dump( $vardump ); }