Project

General

Profile

Actions

Bug #93532

open

Localize of group breaks referenced record uid

Added by Daniel Siepmann almost 4 years ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
DataHandler aka TCEmain
Target version:
-
Start date:
2021-02-17
Due date:
% Done:

0%

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

Description

Setup to reproduce:

  1. Create some kind of record with uid 1.
  2. Create a content element with uid 1 in default language.
  3. Use CType "shortcut" and select the foreign record with uid 1.
  4. Create a foreign language
  5. Translate the page with content element.
  6. Translate the content of the page.

Expected result: A new content element with uid 2 should be created. "records" field should contain 1.
Actual result: A new content element with uid 2 is created. "records" field contains 2.

The DataHandler actually tries to update references. If the field "records" includes references to the same uid as the language parent, then those uids are updated to the new uid. This happens within DataHandler->remapListedDBRecords()

No data to display

Actions

Also available in: Atom PDF