Trailing bracket randomly disappearing on set value properties calculation

======== TEMPLATE BUG FORM ========

Wappler Version : 3.9.7
Operating System : Windows 10
Server Model: Node JS.
Database Type: None
Hosting Type: Docker on AWS

Expected behavior

What do you think should happen?

Bracket for set value properties in dynamic data picker should not randomly be cut (trailing bracket only)

Actual behavior

Disappearing brackets causing parsing errors after follow on page saves/edits (not editing this data).

image
image

How to reproduce

Store a value and add 1. Save dynamic event.
Make other edits to page. Save.
Bracket randomly removed, causing dynamic event to throw a parsing error.
image
Have to manual go back in and re-add the trailing bracket. Save and keep an eye on it.

Hello, Is this the exact use case where this happens? I mean some.value + 1 or is it a more complex expression? You don’t really need brackets for expression like on your screenshots.

Hey Tedor. Nope, just the simple expression. If I leave out the brackets, it shows as this.
image
Hence thinking it needed them. I’m guessing this is why it gets confused.

Saving it without the brackets, does show it correctly in the action event (on hover).
image

I’ll keep that in mind for the future.

Thanks.

This has been fixed in Wappler 4.6

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