#108496record-transformation in menu_pages in translation not possible
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
-
Garvin Hicking changed category 12/16/25, 13:20
-
Georg Ringer commented 12/16/25, 20:47
-
Gerrit Code Review pushed patch set 1 for 13.4 to change 92672 status
NewUnder Review 02/04/26, 20:19 -
Gerrit Code Review pushed patch set 2 for 13.4 to change 92672 02/04/26, 20:40
-
Gerrit Code Review pushed patch set 3 for 13.4 to change 92672 09/09/26, 21:58
-
Georg Ringer commented and changed status
Under ReviewResolved done0 %100 % 09/10/26, 06:45Applied in changeset commit:cc7ba985d1eee68b61e0eddcc4b2001fc6e3873e.
pretty sure the same issue https://github.com/FriendsOfTYPO3/content-blocks/issues/439