Review main Merged

93568[TASK] Deprecate BackendUtility item list label methods

Benni Mack CR +2 V +2 Hard +775 −140 updated 04/14/26, 08:12

Commit message

The three methods getLabelFromItemlist(),
getLabelFromItemListMerged() and getLabelsFromItemsList()
in BackendUtility contained duplicated logic for resolving
item labels from TCA configuration, itemsProcFunc processing
and Page TSconfig overrides.

A Schema-based class SchemaLabelResolver in EXT:core consolidates
this logic into getLabelForFieldValue() and
getLabelsForFieldValues(), while the BackendUtility methods
now delegate to it.

The new class returns raw (untranslated) labels, leaving
translation responsibility to callers.

All internal callers have been migrated to use
SchemaLabelResolver directly.

Review

  • Code review CR +2 Done
    • Georg Ringer +2
    • Christian Kuhn +1
  • Verified V +2 Done
    • Georg Ringer +2
    • Christian Kuhn +1
    • core-ci +1 CI

Issues 1

Files 12

Review log 812

  1. Benni Mack uploaded patch set 1 04/08/26, 16:37

  2. core-ci voted on patch set 1 V -1 04/08/26, 16:47 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/99779

  3. Georg Ringer uploaded patch set 2 V -1 04/09/26, 20:20

  4. core-ci voted on patch set 2 V -1 04/09/26, 20:30 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/99883

  5. Georg Ringer uploaded patch set 3 V -1 04/09/26, 20:52

  6. core-ci voted on patch set 3 V +1 04/09/26, 21:01 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/99884

  7. Benni Mack uploaded patch set 4 V +1 04/13/26, 16:59

  8. core-ci voted on patch set 4 V +1 04/13/26, 17:08 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/100099

  9. Christian Kuhn voted on patch set 4 CR +1 V +1 04/13/26, 17:19

  10. Georg Ringer voted on patch set 4 CR +1 V +1 04/13/26, 18:03

  11. Georg Ringer voted on patch set 4 CR +2 V +2 04/14/26, 08:12

  12. Georg Ringer merged patch set 5 04/14/26, 08:12