-
Notifications
You must be signed in to change notification settings - Fork 13
Description
TYPO3 version 11.5
l10nmgr version: 11.0.0 alpha
Description:
When using l10nmgr export on a parent record that has no translatable fields but only child records with translatable fields, the export file only includes the child records and not the parent record. This can result in the child records being attached to the default language record instead of the translated parent record when importing the translation.
Steps to reproduce:
Install the typo3/cms-styleguide extension.
Create a new folder with a l10nmgr configuration.
Copy the styleguide example page "inline_1n" to that folder.
Export the page in a different language using l10nmgr.
Check the resulting export file to see if the parent record is included.
Expected result:
The export file should include both the parent record and the child records.
Actual result:
The export file only includes the child records.
After importing the file, child records are added to the default language with incorrect language, corruping it, and any further attemt to export/import will result in error:
0 => '[1.6.-1]: Localization failed: there already are localizations (23) for lang
uage 1 of the "tx_styleguide_inline_1n_child" record 25!' (132 chars)