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

TASK: on formRuntime initialization do not overwrite formState values for non existend request arguments #155

Conversation

theDex
Copy link
Contributor

@theDex theDex commented May 4, 2022

If a form gets initialized with a form state from the URL's query parameter and this form contains a "lastDisplayedPage" the formState gets initialized correctly at first, but than the form framework tries to map the requests argument for the "lastDisplayedPage" to the formState. If the request does not contain these values the already in the formState present values get overwritten with null.

We would suggest to skip the initialization if an argument is not present at all.

@daniellienert daniellienert merged commit 73c6e14 into neos:master Jun 7, 2022
@daniellienert daniellienert deleted the feature/no-null-values-on-initialization branch June 7, 2022 15:41
@bwaidelich
Copy link
Member

bwaidelich commented Aug 22, 2022

This change introduced a severe breaking change that skips not-empty validation for radio buttons, checkboxes and file uploads (#157).

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.

3 participants