Breaking: #79243 - Remove l10n_mode mergeIfNotBlank
See forge#79243
Description
The setting merge
has been removed without replacement from the list of possible values of
the TCA column property l10n_
.
Impact
Previously values of a localization having a dependent parent record were taken
from the parent record if l10n_
for the particular field was set to
merge
and the value in the localization was empty. Now, this value
is duplicated during the creation of the localized record and has to be
modified manually if required.
Affected Installations
All instances with extensions setting TCA options and having
$GLOBALS
set to merge
.
Migration
First execute the upgrade wizard
Migrate values in database records having "l10n_mode" set in the install tool.
After that, remove
$GLOBALS
if it is set to merge
. If l10n_
is removed before the upgrade wizard
has been executed, nothing will be migrated - thus, it's important to keep that order
of migration.
The upgrade wizard executes the following field usages:
- inline children, pointing to
sys_
: file references are localized for the localization, if missing therefile_ reference - group fields, basically not using MM intermediate tables: value is cloned to the accordant field in the localization, if empty there
- any other field type: value is cloned to the accordant field in the localization, is blank there
The term blank
refers to an empty string (''
), empty
refers to an empty
string, null values and zero values (numeric and string).