Actions
Bug #89659
closedTranslating a record creates superfluous wrong mm relations
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.
- Have a
sys_category
entry in L=0 - Have a record (tx_news or so) in L=0 or L=-1 using this category
sys_category_record_mm
has one entry for this relation -> still OK- translate the category to L=1
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.
Actions