Closed parijke closed 4 months ago
@MKodde @thijskh
What I noticed was that, although there is a default configuration, it is never used. You can test that by adding this in the load method of the extension:
$configuration = new Configuration();
$processedConfig = $this->processConfiguration($configuration, $configs);
dd($processedConfig, $configs);
You can see that in the $processedConfig
variable, the defaults are there, and not in $configs
. That is probably why the value wasn't set to false, because the definition is only set as the key exists, en left to null if not (the service.tml overruled the default vanlue in the service itself)
I am not sure if this is delibarate, or a bug?
See also https://www.pivotaltracker.com/story/show/187671164
In addition to set the correct parameters in Profile, this add some extra safety to make sure the value is never null