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 #1

Updated by Oliver Bartsch over 4 years ago

  • Related to Bug #89620: Creating MM relations in a group field with a translatable table causes translated records to show up twice added
Actions #2

Updated by Christian Kuhn over 2 years ago

  • Related to Bug #91842: Entries in sys_category_record_mm are created also for translated categories added
Actions #3

Updated by Christian Kuhn over 2 years ago

  • Related to Bug #77902: Translating category causes creation of non-necessary relations added
Actions #4

Updated by Christian Kuhn over 2 years ago

  • Related to Bug #62727: Allow MM reference translation on non inline fields for bidirectional MM relations added
Actions #5

Updated by Gerrit Code Review over 2 years ago

  • Status changed from New to Under Review

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/c/Packages/TYPO3.CMS/+/71094

Actions #6

Updated by Christian Kuhn over 2 years ago

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

Updated by Benni Mack over 2 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF