I recently noticed a bug related to conditions on events, on a page of my app.
It worked correctly until lately, and I can’t understand why this bug happens.
To sum up, 2 events are related to a button, on click:
- if the number of a type of data is 0, a warning text appears on the page;
- if the number is superior or equal to 1, the next question appears.
The bug is that the 2 events happen, whereas only 1 condition can be true.
I used the debugger to try to understand, and even though one of the 2 conditons appears in red, it is still executed when it ususally stopped the workflow.
I built a simplified version of this part of my app here:
the bug doesn’t appear in this simplified version but it follows the same process, the only differences are that the original app (that I can’t share because it’s private) includes more actions in the event and the data includes more fields.
Any idea? @josh