Bug #80364
Updated by Georg Ringer about 7 years ago
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. <pre> Array ( [tx_powermail_domain_model_page] => Array ( [4] => Array ( [inlineLocalizeSynchronize] => Array ( [field] => fields [language] => 0 [action] => localize ) ) ) ) </pre> what I don't get is why the language is 0 <pre> 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 ) ... </pre> in the DB it looks fine @select uid,sys_language_uid,l10n_parent from tx_powermail_domain_model_page where uid=4;@ <pre> uid,sys_language_uid,l10n_parent 4,3,3 </pre>