Commit a00fd09d authored by Joerg Kummer's avatar Joerg Kummer Committed by Benni Mack
Browse files

[BUGFIX] Ensures call of synchronizeFieldValues with valid arguments

Let 8.7 installtool upgrade wizard L10nModeUpdater ignore synchronization if parent entry of given translations is set to deleted

Resolves: #83940
Releases: master, 8.7
Change-Id: Ie240f71ecf42564c0547abd2dfa5c5efb23c6385
Reviewed-on: https://review.typo3.org/55758


Tested-by: default avatarTYPO3com <no-reply@typo3.com>
Reviewed-by: default avatarTobi Kretschmann <tobi@tobishome.de>
Tested-by: default avatarTobi Kretschmann <tobi@tobishome.de>
Reviewed-by: Joerg Kummer's avatarJoerg Kummer <typo3@enobe.de>
Tested-by: Joerg Kummer's avatarJoerg Kummer <typo3@enobe.de>
Reviewed-by: default avatarMichael Semle <michael.semle@b13.de>
Tested-by: default avatarMichael Semle <michael.semle@b13.de>
Reviewed-by: Benni Mack's avatarBenni Mack <benni@typo3.org>
Tested-by: Benni Mack's avatarBenni Mack <benni@typo3.org>
parent 2845b6a3
......@@ -325,13 +325,15 @@ class DataMapProcessor
);
}
foreach ($fieldNames as $fieldName) {
$this->synchronizeFieldValues(
$item,
$fieldName,
$fromRecord,
$forRecord
);
if (is_array($fromRecord) && is_array($forRecord)) {
foreach ($fieldNames as $fieldName) {
$this->synchronizeFieldValues(
$item,
$fieldName,
$fromRecord,
$forRecord
);
}
}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment