Review 13.4 Merged

87971[TASK] Use BU::getRecord() instead of recordInfo() in DH

Christian Kuhn CR +2 V +2 Easy +16 −14 updated 01/31/25, 18:25

Commit message

One major issue DataHandler suffers from both performance
and complexity wise, is the fact that it tends to fetch
the same record from DB over and over again.

To start fixing this issue, we need to prepare the
codebase a bit, first.

Of course, DH uses not one, but two different solutions
to fetch a single record: There is DH->recordInfo() and
BackendUtility::getRecord(). Their implementations is
essentially identical.

The patch switches from DH->recordInfo() to BU::getRecord().

Review

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

Issues 1

Files 1

Review log 58

  1. Christian Kuhn uploaded patch set 1 01/31/25, 18:02

  2. Christian Kuhn uploaded patch set 2 01/31/25, 18:06

  3. core-ci voted on patch set 1 V +1 01/31/25, 18:09 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/73287

  4. Christian Kuhn updated the commit message in patch set 3 01/31/25, 18:11

  5. core-ci voted on patch set 2 V +1 01/31/25, 18:12 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/73288

  6. core-ci voted on patch set 3 V +1 01/31/25, 18:17 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/73289

  7. Christian Kuhn voted on patch set 3 CR +2 V +2 01/31/25, 18:25

  8. Christian Kuhn merged patch set 4 01/31/25, 18:25