Problem/Motivation

A crafted request can make the server build an unbounded number of rows, and an unexpected input shape ends in a 500 instead of a validation error. Several edge cases misbehave: unlimited cardinality renders no rows, #key on a single element is fatal, transforming children such as datelist never get their value, and the submit handlers rely on fixed parent offsets. Children with #access FALSE or #type value, and a disabled #key, travel as hidden inputs a user can change. Consumers also cannot decide when a row is empty or alter a single row.

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

facine created an issue. See original summary.

  • facine committed 70ee5572 on 1.x
    fix: #3635357 Harden the element input, fix its values and keep row...
facine’s picture

Status: Active » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.