diff --git a/Classes/Integration/HookSubscribers/DataHandlerSubscriber.php b/Classes/Integration/HookSubscribers/DataHandlerSubscriber.php index 4e4c60314..f377aa46f 100644 --- a/Classes/Integration/HookSubscribers/DataHandlerSubscriber.php +++ b/Classes/Integration/HookSubscribers/DataHandlerSubscriber.php @@ -61,6 +61,11 @@ public function processDatamap_afterDatabaseOperations($command, $table, $id, $f $originalParentUid = ColumnNumberUtility::calculateParentUid($originalRecord['colPos']); $newColumnPosition = 0; + if (!empty($fieldArray['l18n_parent'])) { + // Command was "localize", do not touch colPos. + return; + } + if (isset(static::$copiedRecords[$originalParentUid])) { // The parent of the original version of the record that was copied, was also copied in the same request; // this means the record that was copied, was copied as a recursion operation. Look up the most recent copy