3
Composite Private String Variable Concatenates Incorrectly
complete
C
Chris Revell
Recent issue has been introduced. Inside composite components when concatenating a string to a Private Variable that is blank, the private variable concatenates 'null' and then the additional string. The same issue does not occur with page variables etc - it seems to be only private variables inside composite components.
For example, app id 387452, page 1, the composite component custom-12d3ab34-b468-480e-871d-68fbf703e66f has a text box bound to the private variable (BlankValue), and a button that sets the private variable to privateVars.BlankValue+"a". This results in 'nulla' being set in the private variable and then being displayed to the user. This happens whether or not I set BlankValue to "" on component mount.
We discovered this issue on a much larger calculator composite component that we use and the bug has rendered the component useless.
Log In
T
Timo Kapanen
complete
T
Timo Kapanen
Hi Chris Revell, we have published a fix for this issue in 4.6.11 preview version. Best Regards, Timo Kapanen
M
Mari Hirvi
Hi Chris Revell, thanks for the report. We've identified the bug and will investigate its cause shortly.
M
Mari Hirvi
planned