Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[Form] broken behavior with integer named children since 6.3.6 #52248

Copy link
Copy link
Closed
@dmaicher

Description

@dmaicher
Issue body actions

Symfony version(s) affected

6.3.6

Description

#52021 introduced an issue when form children are named like integers.

When handling the request values are re-indexed and loose their submitted index value.

How to reproduce

See reproducer with failing test case https://github.com/symfony/symfony/compare/5.4...dmaicher:symfony:reproducer_form_integer_children?expand=1

Where the first child named 0 will get the submitted value for the second child named 1 😕

Possible Solution

Revert change?

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.