coldbox-modules / cbwire

CBWIRE is a ColdBox module that makes building reactive, modern apps easy using HTML-over-the-wire technologies and CFML.
https://cbwire.ortusbooks.com
Other
28 stars 5 forks source link

Add additional validation check in _hydrate() loop over data properties and tests #160

Closed mrigsby closed 2 months ago

mrigsby commented 2 months ago

Fixes error that breaks /cbwire/update ajax calls. When a data property has an array of structs the wire is initially rendered however all subsequent updates fail when the component.cfc _hydrate() method is run and it looks for a file upload data property.

Test Results before modification to component.cfc _hydrate() method:

Screenshot 2024-06-21 at 11 04 49 PM