Bug #80364
closedLocalizing inline records fails
0%
Description
Localizing inline records fails.
How to reproduce- Use latest master
- clone https://github.com/einpraegsam/powermail branch develop
- create a new form + pages +fields
- translate the page
- translate the form
- edit default form and add a new field record
- switch to translated form record
- try to translate the field with the localize button
What fails
I don't exactly went wrong but in FormInlineAjaxController::synchronizeLocalizeAction
the $parentLanguage
is now 0 even though it should be of course the uid of the sys_language of the translated page record.
Array ( [tx_powermail_domain_model_page] => Array ( [4] => Array ( [inlineLocalizeSynchronize] => Array ( [field] => fields [language] => 0 [action] => localize ) ) ) )
what I don't get is why the language is 0
Array ( [command] => edit [tableName] => tx_powermail_domain_model_page [vanillaUid] => 4 [returnUrl] => /typo3/index.php?ajaxID=%2Fajax%2Frecord%2Finline%2Fsynchronizelocalize&ajaxToken=224bccb4da62dbab8eacf816189bf37eb0adc8b5 [recordTitle] => [parentPageRow] => [neighborRow] => [databaseRow] => Array ( [uid] => 4 [sys_language_uid] => Array ( [0] => 0 ) ...
in the DB it looks fineselect uid,sys_language_uid,l10n_parent from tx_powermail_domain_model_page where uid=4;
uid,sys_language_uid,l10n_parent 4,3,3
Updated by Oliver Hader over 7 years ago
Hm... the recent change in powermail defined the fields
field to only be displayed in the default language. Hence, calling inlineLocalizeSynchronize command (which is not related to the new allowLanguageSynchronize feature in CMS 8 by the way) should contain a valid value for the target language
property in the request
Updated by Mona Muzaffar over 7 years ago
- Related to Bug #80855: IRRE: "Localize all records" and "Synchronize with default language" not working anymore added
Updated by Susanne Moog about 7 years ago
- Status changed from Accepted to Needs Feedback
should be fixed by https://review.typo3.org/#/c/52543/ can you check?
Updated by Georg Ringer about 7 years ago
- Status changed from Needs Feedback to Resolved