Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged

Conversation

mrigsby
Copy link
Contributor

@mrigsby mrigsby commented Jun 22, 2024

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

Copy link
Collaborator

@grantcopley grantcopley left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @mrigsby !

@grantcopley grantcopley merged commit 8c71a8a into coldbox-modules:development Jun 22, 2024
3 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants