You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
If using the GOVNotify output, and passing through a list, and every item in that list has a condition that equates to false, undefined will be passed to the personalisation object instead of an empty string. This will cause GOVNotify to send back a 400 bad request response.
To Reproduce
Steps to reproduce the behavior:
Create a form with a yes/no component and email address component on the first page and a list with one item in it
Add a condition which checks the yes/no component
Apply the condition to the one list item in the list
Create a GOVNotify template that prints out the list
Create a GOVnotify output, passing in the template ID of the template just created, and pass the list as a personalisation
Preview the form, choose "no" for the yes/no field, type in your email for the email field, and submit the form
The GOVNotify api will respond with the 400 error
Expected behavior
The email is sent to your address with an empty string shown for the list
The text was updated successfully, but these errors were encountered:
Describe the bug
If using the GOVNotify output, and passing through a list, and every item in that list has a condition that equates to false,
undefined
will be passed to the personalisation object instead of an empty string. This will cause GOVNotify to send back a400 bad request
response.To Reproduce
Steps to reproduce the behavior:
Expected behavior
The email is sent to your address with an empty string shown for the list
The text was updated successfully, but these errors were encountered: