Project

General

Profile

Actions

Bug #90430

open

Language handling of bidirectional mm selects is not consitent.

Added by Eike Starkmann about 4 years ago. Updated 26 days ago.

Status:
Under Review
Priority:
Must have
Category:
Extbase + l10n
Target version:
-
Start date:
2020-02-19
Due date:
% Done:

0%

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

Description

I found a inconsistent behaviour in the new language handling of typo3 9.5. The situation is like this, I have a bidirectional mm relation with selects on both sides, which are excluded in non default languages. I adapted it to the blog example.
So lets say we have posts and tags which can be selected on both sides.

I reproduced this behaviour in blog_example:
https://github.com/undkonsorten/blog_example/commit/4bcdae43cf750c98f6f39fc4864430d202bf2891

Scenario:

I create a blog post (P) with uid 1
I create a tag (T) with uid 11
I create a translation P' for P with uid 2
I create a translation T' for T with uid 12

I open P (default language) and add T.

Database looks like this:

uid_local    uid_foreign
1            11
2            11

P <=> T
P' <=> T

I open T (default language) and save it.

Database looks like this:

uid_local    uid_foreign
1            11
1            12

P <=> T
P <=> T'

Save P' or T':
uid_local    uid_foreign
1            11
1            12
2            12
2            11

P <=> T
P <=> T'
P' <=> T
P' <=> T'

The problem is that when I save T the tag is no longer shown on that post in Frontend.

The modified extension can be found here:
https://github.com/undkonsorten/blog_example/


Related issues 4 (4 open0 closed)

Related to TYPO3 Core - Bug #84682: TYPO3 8 Relationship Localization BugNew2018-04-10

Actions
Related to TYPO3 Core - Bug #65859: Support l10n_mode in extbaseUnder Review2015-03-20

Actions
Related to TYPO3 Core - Bug #92777: TCA l10n_mode exclude and MM relationsUnder Review2020-11-05

Actions
Related to TYPO3 Core - Bug #102336: Add support for localizing n:1 relationsNew2023-11-07

Actions
Actions

Also available in: Atom PDF