Bug #84682

TYPO3 8 Relationship Localization Bug

Added by Michael Rainer almost 4 years ago. Updated 7 months ago.

Status:
New
Priority:
Must have
Assignee:
-
Category:
Localization
Start date:
2018-04-10
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
9
PHP Version:
7.0
Tags:
9.5.8 LTS
Complexity:
Is Regression:
Sprint Focus:

Description

!When it comes to bidirectional relationships, the localization handling of TYPO3 8 is a bit different than I expected to be.

Let's say, we use price tables and seasons which are connected through a "has many relationship".
I then create a new season and assign them to a price table.
Whenever I translate this season, its connections will also be translated because a new record will be inserted in the mm table.
If I then edit the assigned price table, the season appears twice ( original + language record ).
Additionaly, the sorting attribute of the mm table is broken because the language record receives the default value of sorting ( 0 ).

I've created a minimalistic extension to demonstrate this behaviour.
[[https://github.com/sir-script/mm_typo3_8]]

Can anybody explain,what's wrong here?
What would you expect as standard behaviour?
Should the mm table contain these language overlay records and the presentation is wrong?


Files

pricetable.png (21.5 KB) pricetable.png Michael Rainer, 2018-04-10 09:46
pricetable_view.png (37.8 KB) pricetable_view.png Michael Rainer, 2018-04-10 09:46
season_table.png (39.8 KB) season_table.png Michael Rainer, 2018-04-10 09:46
mm_table.png (10.7 KB) mm_table.png Michael Rainer, 2018-04-10 09:46

Related issues

Related to TYPO3 Core - Bug #82558: The relation of MM table records are saved wrong for element translations in TYPO3 8.7.New2017-09-25

Actions
Related to TYPO3 Core - Bug #90430: Language handling of bidirectional mm selects is not consitent.Under ReviewTymoteusz Motylewski2020-02-19

Actions
#1

Updated by Michael Rainer almost 4 years ago

  • Description updated (diff)
#2

Updated by Michael Stucki almost 4 years ago

  • Project changed from forge.typo3.org to TYPO3 Core
  • TYPO3 Version set to 8

Wrong project.

#3

Updated by Michael Rainer almost 4 years ago

Sorry Michael Stucki.
Thanks for moving the project. :)

#4

Updated by Michael Rainer almost 4 years ago

  • Target version set to 8.7.13
  • PHP Version set to 7.0
  • Tags set to 8.7.9 LTS
#5

Updated by Michael Rainer almost 4 years ago

  • Category set to Localization
#6

Updated by Michael Rainer almost 4 years ago

  • Related to Bug #82558: The relation of MM table records are saved wrong for element translations in TYPO3 8.7. added
#7

Updated by Benni Mack over 3 years ago

  • Target version changed from 8.7.13 to 8.7.19
#8

Updated by Susanne Moog over 3 years ago

  • Target version changed from 8.7.19 to Candidate for patchlevel
#9

Updated by Frank Krüger over 2 years ago

  • TYPO3 Version changed from 8 to 9
  • Tags changed from 8.7.9 LTS to 9.5.8 LTS

It seems that this is still an issue in TYPO3 9.x

#10

Updated by Wolfgang Klinger about 2 years ago

Still an issue with TYPO3 9, nobody can explain how it should work?

#11

Updated by Jan Kornblum over 1 year ago

I would also like to know what should be the standard behaviour for relations in overlay records currently (9, 10). In my case it seems that an overlays n:1 relation to a parent must point to the parents overlay - instead of the parent default (like it was possible in 8).

#12

Updated by Michael Rainer 7 months ago

Is there any news on this subject? Anything planned for the next releases?
In our company, we made a quick workaround introducing a new TCA setting,
who prohibits the creation of the mm entries for the language overlays.
But it's not a long term solution and honestly not the right way to do it ;).

#13

Updated by Christian Kuhn 7 months ago

I hope to work on mm relation stuff, soon. My target will be mostly workspace related, but we'll see what we stumble upon when doing this.

#14

Updated by Michael Rainer 7 months ago

Christian Kuhn wrote in #note-13:

I hope to work on mm relation stuff, soon. My target will be mostly workspace related, but we'll see what we stumble upon when doing this.

Sounds good. Thank you Christian for the quick response. Wish you good success and hopefully you also come up with a good solution for this issue ( I know, "language handling" and "workspaces" are very complex topics and there are big challenges... ).

#15

Updated by Jan Kornblum 7 months ago

  • Related to Bug #90430: Language handling of bidirectional mm selects is not consitent. added
#16

Updated by Jan Kornblum 7 months ago

Please could you also have a look at my comment here: https://forge.typo3.org/issues/90430#note-7. To me this seems that the handling of relations at all seem to be a major problem in general in current TYPO3 versions.

Also available in: Atom PDF