Project

General

Profile

Actions

Bug #102623

closed

Switching l10n_parent to 0 triggers exception

Added by Georg Ringer 12 months ago. Updated 4 months ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Localization
Start date:
2023-12-07
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
12
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

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


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #15339: localization fails if content is moved from other language to default languageClosedWolfgang Klinger2005-12-30

Actions
Actions #1

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.

Actions #2

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

Actions #3

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

Actions #4

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

Actions #5

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

Actions #6

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

Actions #7

Updated by Oliver Hader 11 months ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #8

Updated by Georg Ringer 5 months ago

  • Related to Bug #15339: localization fails if content is moved from other language to default language added
Actions #9

Updated by Benni Mack 4 months ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF