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 Regression / TransformationFailedException #37386

Closed
gnat42 opened this issue Jun 22, 2020 · 2 comments
Closed

Form Regression / TransformationFailedException #37386

gnat42 opened this issue Jun 22, 2020 · 2 comments

Comments

@gnat42
Copy link
Contributor

gnat42 commented Jun 22, 2020

Symfony version(s) affected: 4.4.10

Description
I have a project on 4.4.8. I have a form with a compound child form. The child form will throw a TransformationFailedException for some missing fields. I updated and got v4.4.10. Somehow this is no longer works. Instead of the form being marked as invalid, the form is 'valid' as per $form->isSubmitted() && $form->isValid() but getData returns null.

How to reproduce
I'll work to create a reproducer and edit this.

Possible Solution
Not sure yet. I did a diff of the Form component and saw only minor changes so haven't isolated the issue yet.

@gnat42 gnat42 added the Bug label Jun 22, 2020
@xabbuh xabbuh added the Form label Jun 22, 2020
@xabbuh
Copy link
Member

xabbuh commented Jun 22, 2020

Can you please check if this is the same as #37262 and thus fixed by #37345?

@gnat42
Copy link
Contributor Author

gnat42 commented Jun 22, 2020

Hello, I applied #37345 to my local project and that does indeed fix the issue (even though my fields aren't dates).

Duplicate of #37262

@gnat42 gnat42 closed this as completed Jun 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants