falsy value differences between javascript and python result in differing behaviour
The falsy values of javascript are different than the ones of python notably for the empty Array and the empty Object.
It results in a different interpretation of an empty fields.Dict
(and presumably fields.MultiSelection
but untested) when evaluating a PYSON expression such as Not(Eval('dict_field'))
.
I think we should interpret empty Array and Object as falsy in sao.