Closed laurent-lemke closed 1 year ago
After investigating, the bug is more important that is seems.
The UI problem is related to the modal window, not the preview field which display the right data. Thus, there is really a problem within the engine when evaluating a variable that has a false value.
Here is an attached screenshot where you can see that the "x" value must be false ; however it has been evaluated to empty and sent like that to the webserver.
Any news about it ? It is a quite annoying bug since we are not able to send false value in JSON.
@laurent-lemke I'm facing same issue and I did a workaround for it by adding a new string field that holds the boolean value in string format (you can make that using Set node) :
item.json.stringField = item.json.boolField ? "true" : "false";
then use this string field in your expressions
Experiencing the same issue. False always evaluates to empty when using in graphQL node variables
Just adding that the internal tracking reference for this one is ADO-217
.
Hey There,
This issue has now been fixed and from n8n 0.219.1
everything should be working as expected. I am going to mark this one as closed for now if you see the issue again let me know.
Describe the bug When we want to show a node from a past workflow execution, field expression show an empty value if the referenced variable used has a false value :
However when we open the field expression, the expression is correctly evaluated and the false value is indeed shown. So the impact is minor but might confused at the first time.
To Reproduce Steps to reproduce the behavior:
Expected behavior Display the right value
Environment (please complete the following information):
own
,main
andqueue
. Default isown
]Additional context Add any other context about the problem here.