Bug #95404
closed
No refindex entries generated for sys_language_uid anymore
Added by Nikita Hovratov about 3 years ago.
Updated almost 3 years ago.
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.
- 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?
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
ext:impexp has to follow here. we should finish your patch.
- Related to Bug #93470: XML export data does not include page translations. added
- Related to Bug #94616: Problems after t3d import (Extension impexp 10.4.17) added
should we close here and tackle the impexp issue in the related issues as your patch suggests already?
- Status changed from Needs Feedback to Closed
Let's close here for now and continue in the other issues.
Also available in: Atom
PDF