The FlexForm field enable_scrollwheelzoom has no effect.
The setting is actually activated via TypoScript:
plugin.tx_odsosm_pi1 {
enable_scrollwheelzoom = 1
}
thus it is always activated and can NOT be deactivated because of the way how the overwrite is called:
|
ArrayUtility::mergeRecursiveWithOverrule($this->config, $flex, true, false); |
The problem here is the last false which ignores 0 values and thus deactivated values cannot deactivate the values from TypoScript but the Flexform values should be the strongest.
Is this the expected behavior? If so, then the FlexForm setting could be removed as it is useless. It only has an effect if the TypoScript value would set to 0 by someone else and then activate the FlexForm setting again individually.
What do you think?
The FlexForm field
enable_scrollwheelzoomhas no effect.The setting is actually activated via TypoScript:
thus it is always activated and can NOT be deactivated because of the way how the overwrite is called:
ods_osm/Classes/Controller/PluginController.php
Line 156 in fbe6a00
The problem here is the last
falsewhich ignores0values and thus deactivated values cannot deactivate the values from TypoScript but the Flexform values should be the strongest.Is this the expected behavior? If so, then the FlexForm setting could be removed as it is useless. It only has an effect if the TypoScript value would set to
0by someone else and then activate the FlexForm setting again individually.What do you think?