#91752Recursive Copy: Translation is created before Original Page
Description
TYPO3 v9.5.18/19
After copying a page with subpages (all translated), some pages showed an error in the page-view:
Argument 2 passed to TYPO3\CMS\Core\Imaging\IconFactory::getIconForRecord() must be of the type array, boolean given, called in /var/www/.../private/typo3/sysext/backend/Classes/View/PageLayoutView.php on line 1317
Not all pages where affected though. Some work in column and language mode, some only in column mode if the original/default language is selected.
With the list view activated the error was obvious as the translated pages had lower PIDs than the original.
If only one page is copied, the issue did not occur.
Reviews 4
Related issues 3
- Bug #93026PageLayoutView.php with array vs bool Error in Pagetree copy action
- Bug #97469PageCopy with nested ContentElements(GridElements) l10n_source is set to uid of translated Element of old page
- Bug #105765Recursive Copy: Incorrect l10n_source for translated sub level pages - "Unused elements in language comparison"