Review 12.4 Merged

83899[BUGFIX] Ensure items array in DataHandler checkValue methods

Nikita Hovratov CR +2 V +2 Easy +17 −6 updated 04/23/24, 06:14

Commit message

It is possible that TCA items array is not set in DataHandler if

1. items is defined through types/*/columnsOverrides
2. DataHandler is triggered with context of another record type
   (e.g. by a translation request)

This patch ensures we are always dealing with an array for items. Also,
when passing it as parameter to
`ItemProcessingService->getProcessingItems`.

Review

  • Code review CR +2 Done
    • Nikita Hovratov +2
  • Verified V +2 Done
    • Nikita Hovratov +2
    • core-ci +1 CI

Issues 1

Files 2

Review log 46

  1. Nikita Hovratov commented on patch set 1 04/22/24, 07:41

    Cherry Picked from branch main.
  2. core-ci voted on patch set 1 V +1 04/22/24, 07:47 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/56472

  3. Nikita Hovratov uploaded patch set 2 V +1 04/22/24, 16:51

  4. core-ci voted on patch set 2 V +1 04/22/24, 16:58 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/56502

  5. Nikita Hovratov voted on patch set 2 CR +2 V +2 04/23/24, 06:14

  6. Nikita Hovratov merged patch set 3 04/23/24, 06:14