executeExpression expect an object with a type / value representing an expression (VTL / VTL|MD...) but in checkBaseControl it received a string. Before the introduction of a type "TXT" string expression where evaluated as VTL expression, but it's not the case anymore :
// before
executeExpression('false') // false
// after "TXT" change
executeExpression('false') // "false"
But "false" == true, which cause the problem of controls being ignored after the "TXT" change. Maybe we should throw an error when receiving a string inside executeExpression (or log an error ?)
executeExpression expect an object with a type / value representing an expression (VTL / VTL|MD...) but in checkBaseControl it received a string. Before the introduction of a type "TXT" string expression where evaluated as VTL expression, but it's not the case anymore :
But
"false" == true
, which cause the problem of controls being ignored after the "TXT" change. Maybe we should throw an error when receiving a string inside executeExpression (or log an error ?)