Skip to content

[Form] Skip merging params & files if there are no files in the first place #52255

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

Merged
merged 1 commit into from
Oct 24, 2023
Merged

[Form] Skip merging params & files if there are no files in the first place #52255

merged 1 commit into from
Oct 24, 2023

Conversation

priyadi
Copy link
Contributor

@priyadi priyadi commented Oct 24, 2023

Q A
Branch? 5.4
Bug fix? yes
New feature? no
Deprecations? no
Issues Fix #52248
License MIT

Skip merging params & files if there are no files in the first place. Works around problems with numeric field names.

@nicolas-grekas
Copy link
Member

nicolas-grekas commented Oct 24, 2023

In addition, what about using array_is_list() to decide what to do with keys?

@priyadi
Copy link
Contributor Author

priyadi commented Oct 24, 2023

In addition, what about using array_is_list() to decide what to do with keys?

good idea. done.

@nicolas-grekas nicolas-grekas modified the milestones: 6.3, 5.4 Oct 24, 2023
@nicolas-grekas nicolas-grekas changed the title Skip merging params & files if there are no files in the first place. Works around problems with numeric field names. Skip merging params & files if there are no files in the first place Oct 24, 2023
@carsonbot carsonbot changed the title Skip merging params & files if there are no files in the first place [Form] Skip merging params & files if there are no files in the first place Oct 24, 2023
@nicolas-grekas nicolas-grekas changed the base branch from 6.3 to 5.4 October 24, 2023 09:12
@OskarStark
Copy link
Contributor

cc @dmaicher

@nicolas-grekas
Copy link
Member

Thank you @priyadi.

@nicolas-grekas nicolas-grekas merged commit b769b77 into symfony:5.4 Oct 24, 2023
@dmaicher
Copy link
Contributor

Thanks for the fast fix @priyadi @nicolas-grekas 🚀 👍

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.

5 participants