Bug #102623
closedSwitching l10n_parent to 0 triggers exception
100%
Description
In v12 when switching a l10n_parent to 0, an exceptions triggered
PHP Warning: Array to string conversion in /var/www/html/vendor/typo3/cms-core/Classes/DataHandling/DataHandler.php line 8532
the line is
$result = (string)$submittedValue === (string)$storedValue;
with one variable being an array of the l10n state and one the result as json (string)
in a plain v12 installation this happens with records, e.g. sys_category but can reproduce that with on client site with regular tt_content as well
Updated by Garvin Hicking 12 months ago
Reproduced this on a 12.4.4 client installation, too using sys_category. With tt_content (CTypes "header" and "text" tested) no errors occur for me, also with sys_file_collection records it doesn't throw an error.
Updated by Gerrit Code Review 12 months ago
- Status changed from Accepted to Under Review
Patch set 1 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/82149
Updated by Gerrit Code Review 12 months ago
Patch set 2 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/82149
Updated by Gerrit Code Review 12 months ago
Patch set 3 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/82149
Updated by Gerrit Code Review 12 months ago
Patch set 4 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/82149
Updated by Gerrit Code Review 12 months ago
Patch set 1 for branch 12.4 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/82170
Updated by Oliver Hader 11 months ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 6d47320d5a25199397c888191897c9de8186a326.
Updated by Georg Ringer 5 months ago
- Related to Bug #15339: localization fails if content is moved from other language to default language added