Project

General

Profile

Bug #81315 ยป fix.patch

Robert Becker, 2017-05-23 16:23

View differences:

typo3/sysext/core/Classes/DataHandling/Localization/DataMapProcessor.php
// @todo Invalid manually injected child relations cannot be determined here
$sanitizedValue = $this->sanitizationMap[$item->getTableName()][$item->getId()][$fieldName] ?? null;
if (
!empty($missingAncestorIds) && $item->isNew() && $sanitizedValue !== null
!empty($missingAncestorIds) && $item->isNew() && !empty($sanitizedValue)
&& count(GeneralUtility::trimExplode(',', $sanitizedValue)) === count($missingAncestorIds)
) {
$this->modifyDataMap(
    (1-1/1)