Issue Bug Closed

#106726AbstractGenericObjectValidator::getPropertyValidators may return array or \SplObjectStorage, only array defined

Elias Häußler 05/19/25, 10:47 updated 05/21/25, 12:20

Description

The \TYPO3\CMS\Extbase\Validation\Validator\AbstractGenericObjectValidator::getPropertyValidators method may return an array of SplObjectStorage instances or an instance of SplObjectStorage, depending on whether a property name is given. Currently, only array is defined as return type which breaks calls with a given property name.

Reviews 3

History 29

  1. Gerrit Code Review pushed patch set 1 for main to change 89444 status New Under Review 05/19/25, 10:56

  2. Gerrit Code Review pushed patch set 2 for main to change 89444 05/19/25, 10:57

  3. Gerrit Code Review pushed patch set 3 for main to change 89444 05/19/25, 19:49

  4. Gerrit Code Review pushed patch set 4 for main to change 89444 05/19/25, 19:56

  5. Gerrit Code Review pushed patch set 5 for main to change 89444 05/19/25, 20:12

  6. Gerrit Code Review pushed patch set 1 for 13.4 to change 89485 05/20/25, 14:56

  7. Gerrit Code Review pushed patch set 1 for 12.4 to change 89486 05/20/25, 14:56

  8. Anonymous commented and changed status Under Review Resolved done 0 % 100 % 05/20/25, 15:10

    Applied in changeset commit:730a557685f7f6591f7c1e10c3193a4122624c23.

  9. Elias Häußler changed status Resolved Closed 05/21/25, 12:20