Low code platform for building business apps and workflows in minutes. Supports PostgreSQL, MySQL, MSSQL, MongoDB, Rest API, Docker, K8s, and more 🚀
Null or undefined values were causing an issue in the loop binding replacement code and throwing an error. This fix simply does nothing for those values, (since they're empty and wont contain and handlebars statements that need updated).
Also added some tests to cover this issue and potential other problem areas such as empty arrays / objects.
Description
Null or undefined values were causing an issue in the loop binding replacement code and throwing an error. This fix simply does nothing for those values, (since they're empty and wont contain and handlebars statements that need updated).
Also added some tests to cover this issue and potential other problem areas such as empty arrays / objects.
Addresses
https://linear.app/budibase/issue/BUDI-8410/looping-in-automations-cannot-convert-undefined-or-null-to-object
Launchcontrol