Issue Bug Resolved

#85013Drag & Drop, Copy/Cut/Paste don't change colPos in localized content elements if the target is the first position

Attila Glück 05/15/18, 15:29 updated 11/11/26, 14:10

Description

See: https://youtu.be/mNCrBRyCes8

DataHandler.php Line 1015
The colPos value don’t exist in $incomingFieldArray

Reviews 3

History 1129

Show 4 earlier messages
  1. Attila Glück commented <span data-processor="relativetime" data-value="2018-05-16T14:21:28+00:00" > 05/16/18, 14:21 </span>

    If you move the element after an other element in an other colpos, it works!
    Because $destPid exist in moveRecord_raw() (DataHandler.php line 4460)

  2. Attila Glück commented and changed priority Should have Must have <span data-processor="relativetime" data-value="2018-05-16T15:46:08+00:00" > 05/16/18, 15:46 </span>

    Steps to reproduce the problem:
    -Create and localize 2 content elements
    -Move a content element – whether drag and drop or cut/paste – to the first position in other colPos

    What is the expected behaviour:
    -Localized content element should move too

    At the first position no destPid value exist and in localized element no colPos value provided.
    I think we need always provide the colPos value to moveRecord() in DataHandler.php

  3. Attila Glück changed subject Drag and Drop don't change colpos in localized content elements Drag & Drop, Copy/Cut/Paste don't change colPos in localized content elements if the target is the first position assigned to Mathias Schreiber <span data-processor="relativetime" data-value="2018-05-17T21:48:34+00:00" > 05/17/18, 21:48 </span>

  1. Simon Gilli commented and changed removed the assignee <span data-processor="relativetime" data-value="2018-05-23T16:36:28+00:00" > 05/23/18, 16:36 </span>

    Can reproduce this on master too

  2. Simon Gilli changed status New Accepted target version TYPO3 Version 8 9 Is Regression 0 <span data-processor="relativetime" data-value="2018-05-23T17:55:22+00:00" > 05/23/18, 17:55 </span>

  3. Riccardo De Contardi commented <span data-processor="relativetime" data-value="2019-07-24T22:20:48+00:00" > 07/24/19, 22:20 </span>

    This issue is still reproducible on latest master; see the video in the description to reproduce it.

  4. Gerrit Code Review pushed patch set 18 for master to change 63354 status Accepted Under Review <span data-processor="relativetime" data-value="2020-02-23T21:03:47+00:00" > 02/23/20, 21:03 </span>

  5. Claus Due commented and changed status Under Review Closed <span data-processor="relativetime" data-value="2023-08-05T18:26:49+00:00" > 08/05/23, 18:26 </span>

    Associated patch was abandoned. This is not a problem in TYPO3v10 and I’m pretty sure we don’t care about it in TYPO3 <= 9.5. Closing the issue.

  6. Gerrit Code Review pushed patch set 4 for main to change 63622 status Closed Under Review <span data-processor="relativetime" data-value="2024-10-18T13:49:48+00:00" > 10/18/24, 13:49 </span>

  7. Attila Glück commented and changed TYPO3 Version 9 12 PHP Version 7.2 8.3 <span data-processor="relativetime" data-value="2024-12-03T10:32:13+00:00" > 12/03/24, 10:32 </span>

    On v12 by moving a content element in backend, don’t change the colPos value in localized content elements at all. The “Connected Mode” is useless

  8. Benni Mack commented and changed status Under Review Resolved done 0 % 100 % <span data-processor="relativetime" data-value="2026-11-11T14:10:01+00:00" > 11/11/26, 14:10 </span>

    Applied in changeset commit:242b6240757b401be34c19bbcd177c7b3d25d127.