Project

General

Profile

Actions

Bug #89659

closed

Translating a record creates superfluous wrong mm relations

Added by Stefan P over 4 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
DataHandler aka TCEmain
Target version:
-
Start date:
2019-11-13
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
9
PHP Version:
7.2
Tags:
Complexity:
Is Regression:
Yes
Sprint Focus:

Description

Most easily reproduced with sys_category and sys_category_record_mm, but this generally is true for all tables that have MM relation tables.

Steps to reproduce:
  1. Have a sys_category entry in L=0
  2. Have a record (tx_news or so) in L=0 or L=-1 using this category
  3. sys_category_record_mm has one entry for this relation -> still OK
  4. translate the category to L=1
  5. sys_category_record_mm has now the original entry (L=0category -> L=0 record) and a false one connecting the L=0 record with L=1 category, the false one has a higher sorting and thus gets prioritized in FE

I tried several combinations of TCA settings (l10n_mode, dontRemapTablesOnCopy, localizeReferencesAtParentLocalization) which did not change anything.

I could not find the root cause for this behaviour.

This does not inherently break the FE rendering or categorization, but most likely lead to the situation that wrong translation labels are echoed into the FE.

It seems that this behaviour was recently introduced (one of the latest 9.5.x releases), because we have several big multi-language v9 setups that were working fine and recently we got customer feedback about this.


Related issues 4 (1 open3 closed)

Related to TYPO3 Core - Bug #89620: Creating MM relations in a group field with a translatable table causes translated records to show up twiceClosed2019-11-08

Actions
Related to TYPO3 Core - Bug #91842: Entries in sys_category_record_mm are created also for translated categoriesClosed2020-07-22

Actions
Related to TYPO3 Core - Bug #77902: Translating category causes creation of non-necessary relationsClosed2016-09-09

Actions
Related to TYPO3 Core - Bug #62727: Allow MM reference translation on non inline fields for bidirectional MM relationsNew2014-11-05

Actions
Actions

Also available in: Atom PDF