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

Make allowed_classes configurable when unserializing formState #144

Closed
wants to merge 3 commits into from

Conversation

ger4003
Copy link
Contributor

@ger4003 ger4003 commented Jul 27, 2021

With a new configuration option it is possible to add class names to allowed_classes for unserialize() formState within FormRuntime::initializeFormStateFromRequest

closes #143

Copy link
Member

@bwaidelich bwaidelich left a comment

Choose a reason for hiding this comment

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

+1 by reading. Thanks you, @ger4003 !

@bwaidelich
Copy link
Member

I'm just not sure about the target branch. IIRC features can only go into a 5.3 release!?

@ger4003
Copy link
Contributor Author

ger4003 commented Jul 30, 2021

I can change the target branch to master, that is fine by me. @bwaidelich Should I?

@bwaidelich
Copy link
Member

I can change the target branch to master

yes please. Thanks

@ger4003 ger4003 changed the base branch from 5.0 to master July 30, 2021 07:56
@bwaidelich
Copy link
Member

@ger4003 Just a little update: I'm currently reviewing this and the change works great, but we are currently discussing whether the allowed_classes option could be skipped altogether. I will keep you updated

Copy link
Member

@bwaidelich bwaidelich left a comment

Choose a reason for hiding this comment

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

And here is the update:
I think this one is obsolete with #145 and can be closed.
Thanks again and sorry for the inconvenience!

@ger4003
Copy link
Contributor Author

ger4003 commented Aug 5, 2021

#close in favor of #145

@ger4003 ger4003 closed this Aug 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Multi-Step forms fail when saving objects in the Form State
2 participants