Open
Description
Summary
Passed boolean parameters do not properly process in processors and getProperty returns strings instead of the proper parameter type. It causes various issues in the manager when condition should work but it doesn't.
Step to reproduce
Create any combo-box or other extjs component or use existing and pass any boolean parameter into the processor. Like this:
baseParams: {
action: 'source/getList',
showNone: false,
streamsOnly: true
}
Observed behavior
In the processor $this->getProperty('showNone')
returns string instead of boolean variable. If to try to cast the type to boolean it will be always true because the string is not empty ((bool)'false'
and (bool)'true'
will be always true for both).
Expected behavior
$this->getProperty('myvar')
should return proper boolean value as it was passed into the processor.
Environment
2.7.0-dev. 3.x also, and all previous too.