Bug Report - Can't perform math on Set Value action's values

OS info

  • Operating System : Windows 10.0.19043
  • Wappler Version : 4.0.1

Problem description

Set Value action’s values concatenate instead of adding

Steps to reproduce

  1. Create a Server Action and select a Set Value action and name it ‘value1’. Set it’s value to 1 and Data Type of Number and check the Output checkbox

  2. Select another Set Value action and name it ‘value2’. Set it’s value to the previous Set Value action’s value (value1) plus 1 and Data Type of Number and check the Output checkbox
    image

  3. Run the action. There doesn’t seem to be any way to do any math on the values. value1 should be 1 (and it is) and value2 should be 2 (1 + 1), but it’s 11 instead.
    image

Using the pencil editor to change it to:
image

Will not save. It reverts it back to a concatenation:
image

This has been fixed in Wappler 4.0.6

This topic was automatically closed after 47 hours. New replies are no longer allowed.