No refindex entries generated for sys_language_uid anymore
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.
Updated by Benni Mack 8 months ago
- Status changed from New to Needs Feedback
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?
Updated by Nikita Hovratov 8 months 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.