Bug #85013

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

Added by Attila Glück over 1 year ago. Updated about 2 months ago.

Status:
Accepted
Priority:
Should have
Assignee:
-
Category:
Backend User Interface
Start date:
2018-05-15
Due date:
% Done:

0%

TYPO3 Version:
9
PHP Version:
7.2
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

See: https://youtu.be/mNCrBRyCes8

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

History

#1 Updated by Attila Glück over 1 year ago

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 Updated by Attila Glück over 1 year ago

  • Priority changed from Should have to Must have

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 Updated by Attila Glück over 1 year ago

Version 6, 7 and 8 is affected

#4 Updated by Attila Glück over 1 year ago

  • Subject changed from Drag and Drop don't change colpos in localized content elements to Drag & Drop, Copy/Cut/Paste don't change colPos in localized content elements if the target is the first position
  • Assignee set to Mathias Schreiber

#5 Updated by Simon Gilli over 1 year ago

  • Assignee deleted (Mathias Schreiber)

Can reproduce this on master too

#6 Updated by Simon Gilli over 1 year ago

  • Status changed from New to Accepted
  • Target version set to Candidate for patchlevel
  • TYPO3 Version changed from 8 to 9
  • Is Regression set to No

#7 Updated by Simon Gilli over 1 year ago

  • Priority changed from Must have to Should have

#8 Updated by Riccardo De Contardi about 2 months ago

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

Also available in: Atom PDF