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

[form-builder] Show warning on non-object array values #1173

Merged
merged 2 commits into from
Jan 25, 2019

Conversation

rexxars
Copy link
Member

@rexxars rexxars commented Jan 21, 2019

If you somehow end up with null-values (or other non-object values) inside an array that is supposed to contain objects, the desk tool currently crashes.

This PR introduces a check for whether or not this is the case, and allows you to unset the non-object values.

@rexxars rexxars requested review from bjoerge and mariuslundgard and removed request for bjoerge January 21, 2019 15:32
Copy link
Member

@bjoerge bjoerge left a comment

Choose a reason for hiding this comment

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

💯

@rexxars rexxars merged commit 0dee645 into next Jan 25, 2019
@rexxars rexxars deleted the fix-nulls-in-object-array branch January 25, 2019 10:49
bjoerge pushed a commit that referenced this pull request Feb 1, 2019
* [validation] Fix crash on non-object array values

* [form-builder] Show warning on non-object array values
@skogsmaskin skogsmaskin mentioned this pull request Feb 1, 2019
skogsmaskin pushed a commit that referenced this pull request Feb 1, 2019
* [validation] Fix crash on non-object array values

* [form-builder] Show warning on non-object array values
bjoerge pushed a commit that referenced this pull request Aug 13, 2019
* [validation] Fix crash on non-object array values

* [form-builder] Show warning on non-object array values
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