Project

General

Profile

Actions

Bug #89249

closed

Changing language of a translated record to default should set l10n_parent to 0

Added by Anonymous over 4 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Language Manager (backend)
Target version:
-
Start date:
2019-09-24
Due date:
% Done:

0%

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

Description

Way to reproduce:

Create a record.
Translate it to a translation-language.
Edit the translated record and set its language back to default language.

The frontend then overlays the original record with its translation (which exist in the same language) and shows the translated record anyway.
Reason is that the l10n_parent is still in the database.
I tested this with news and tt_content records but expect to reproduce this with all kind of records as long they follow the default translation behaviour.
Don't know about pages... ?

I think the solution for this is: When a record is set to the default language the l10n_parent field schould be cleared or set to "0" in the database.

Actions

Also available in: Atom PDF