Wappler Version : 4.0.3
Operating System : Windows 10 x64
Server Model: NodeJS
Database Type: PostgreSQL
Hosting Type: Docker
Expected behavior
Server action should add 1 to the test value
What actually happens?
Server action concatenates value
How to reproduce
- Create server action
- Add Set Value step with value 1
- Add another Set Value step with Data Binding - Value from step 2 + 1
What happens after that:
- Server connect incorrectly add + 1
- Output will be 11 instead of 2
I believe this is correlates with Checking for and updating existing records on post
Most likely itās not related to math operation itself, but to how Data Binding saves values, because the only way I could achieve adding +1 is by editing this API action in Code View and correcting expression.
In additional to that: When I have numeric value in Post and trying to add + 1 to this value in Database action - itās concatenates instead of addition.