Project

General

Profile

Actions

Bug #95404

closed

No refindex entries generated for sys_language_uid anymore

Added by Nikita Hovratov over 2 years ago. Updated about 2 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Backend API
Target version:
-
Start date:
2021-09-30
Due date:
% Done:

0%

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

Description

Reproduction:
Create a translation of a page.
Check in the sys_refindex table for any entry with field = "sys_language_uid". There is none.

The reason for this is, the new TCA feature type="language".
The ReferenceIndex checked for type "select" before.


Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Bug #93470: XML export data does not include page translations.Resolved2021-02-09

Actions
Related to TYPO3 Core - Bug #94616: Problems after t3d import (Extension impexp 10.4.17)Resolved2021-07-22

Actions
Actions #1

Updated by Benni Mack over 2 years ago

  • Status changed from New to Needs Feedback

Hey nikita,

yes. this is by design. By not refereing sys_language anymore, we don't need the refindex entries anymore as the IDs are now arbitrary numbers used by the site configuration. This way, we can slowly phase out sys_language DB table and move towards actual locales.

A nice side-effect: The refindex is much smaller now.

One of the reasons why the select was a bad solution was that sys_refindex did NOT contain any references to language=-1 or language=0.

Where do you have a problem with that approach?

Actions #2

Updated by Nikita Hovratov over 2 years ago

Hi Benni, thanks for the explanation!
The problem lies in the import / export module. It uses the reference index to detect relations of pages.
Translated pages were relations before the change and were added as such to the export file.
Now they are missing and page translations are not exported anymore.

See here: https://review.typo3.org/c/Packages/TYPO3.CMS/+/71374

Actions #3

Updated by Christian Kuhn over 2 years ago

ext:impexp has to follow here. we should finish your patch.

Actions #4

Updated by Christian Kuhn over 2 years ago

  • Related to Bug #93470: XML export data does not include page translations. added
Actions #5

Updated by Christian Kuhn over 2 years ago

  • Related to Bug #94616: Problems after t3d import (Extension impexp 10.4.17) added
Actions #6

Updated by Christian Kuhn over 2 years ago

should we close here and tackle the impexp issue in the related issues as your patch suggests already?

Actions #7

Updated by Christian Kuhn about 2 years ago

  • Status changed from Needs Feedback to Closed

Let's close here for now and continue in the other issues.

Actions

Also available in: Atom PDF