Issue Bug Resolved

#108496record-transformation in menu_pages in translation not possible

Sebastian Müller 12/16/25, 12:42 updated 09/10/26, 06:45

Description

Having a menu_pages menu where you use the DataProcessor record-transformation causes an error if not in default language.

I am working in TYPO3 13

How to reproduce:
  • Add a menu_pages content element on a page
  • Translate the page and the content element
  • Add a record-transformation DataProcessor to menu_pages
tt_content.menu_pages {
  dataProcessing {
    10.dataProcessing.20 = record-transformation
    10.dataProcessing.20 {
      as = pageRecord
    }
  }
}

(1/1) TypeError
TYPO3\CMS\Core\Domain\Record\ComputedProperties::__construct(): Argument #4 ($translationSource) must be of type ?TYPO3\CMS\Core\Domain\Page, array given, called in /var/www/html/vendor/typo3/cms-core/Classes/Domain/RecordFactory.php on line 219

I have not found why the $record[‘_TRANSLATION_SOURCE’] is an array instead of an Page-Object.

Reviews 1

History 36

  1. Garvin Hicking changed category 12/16/25, 13:20

  2. Georg Ringer commented 12/16/25, 20:47

  3. Gerrit Code Review pushed patch set 1 for 13.4 to change 92672 status New Under Review 02/04/26, 20:19

  4. Gerrit Code Review pushed patch set 2 for 13.4 to change 92672 02/04/26, 20:40

  5. Gerrit Code Review pushed patch set 3 for 13.4 to change 92672 09/09/26, 21:58

  6. Georg Ringer commented and changed status Under Review Resolved done 0 % 100 % 09/10/26, 06:45

    Applied in changeset commit:cc7ba985d1eee68b61e0eddcc4b2001fc6e3873e.