Bug #79755
closedallowLanguageSynchronization triggers exception in translation page modal
100%
Description
Enable synchronization for header field in tt_content:
typo3/sysext/frontend/Configuration/TCA/tt_content.php:
'header' => [ ... 'behaviour' => [ 'allowLanguageSynchronization' => true, ], ],
- Create a page
- Create two page localizations
- Add default content element 'Regular text element' or similar in default language
- Use page module Language view
- Translate content element to first locaziled page:
"translate button" in column -> modal -> translate -> default
The first translation is created successfully - Translate content element of second localized page, but select first localized page as translation source!
"translate button" in column -> modal -> translate -> first localizaton (german for me) -> do -> modal does not close.
Inspecting network of last modal shows a fatal:
Uncaught TYPO3 Exception
Argument 1 passed to TYPO3\CMS\Core\DataHandling\Localization\State::update() must be of the type array, string given, called in typo3/sysext/core/Classes/DataHandling/Localization/DataMapItem.php on line 320
This only happens if a content element has a different l10n_source that default lang in the modal.
Updated by Oliver Hader almost 8 years ago
- Status changed from New to Accepted
- Assignee set to Oliver Hader
Updated by Gerrit Code Review almost 8 years ago
- Status changed from Accepted to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/51644
Updated by Gerrit Code Review almost 8 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/51644
Updated by Gerrit Code Review almost 8 years ago
Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/51644
Updated by Gerrit Code Review almost 8 years ago
Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/51644
Updated by Oliver Hader almost 8 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset b05e119b89cf0d6f368b6837c09fd9a81a3deb91.
Updated by Riccardo De Contardi about 7 years ago
- Status changed from Resolved to Closed
Updated by Grigori Prokhorov almost 3 years ago
- Related to Bug #88974: Wrong l10n_state after copying a record added