Review main Work in progress Quiet

96895[BUGFIX] Replace option-less form validator configured again

Josua Vogel CR 0 V 0 Normal +124 −0 updated 10/20/26, 06:09

Commit message

A validator listed without options in a form element type
definition only demands its presence. When the form definition
configures the same validator with options, e.g. through
formEditor.predefinedDefaults, it was instantiated a second time
and also executed with its default options.

The ArrayFormFactory now removes the validator demanded by the
type definition before applying the form definition. Validators
the type definition configures with options are still added in
addition, so constraints enforced by an integrator stay in place.

Test this change

Run a command in your clone of the TYPO3 Core. Then try what the change does and vote on Verified in Gerrit. How to review a patch

Check out patch set 1
git fetch https://review.typo3.org/Packages/TYPO3.CMS refs/changes/95/96895/1 && git checkout FETCH_HEAD
Cherry-pick onto main
git fetch https://review.typo3.org/Packages/TYPO3.CMS refs/changes/95/96895/1 && git cherry-pick FETCH_HEAD

Review

  • Code review CR 0 Needs a vote
  • Verified V 0 Needs a vote
    • core-ci +1 CI

Merge conflicts 3

Issues 1

Files 2

Review log 23

  1. Josua Vogel uploaded patch set 1 10/20/26, 06:01

  2. Josua Vogel marked it work in progress 10/20/26, 06:01

  3. core-ci voted on patch set 1 V +1 10/20/26, 06:09 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/111746