Project

General

Profile

Actions

Bug #50310

closed

DataHandler fails to correctly re-sort (content) elements after moving one to top

Added by Bernhard Schmitt almost 11 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
DataHandler aka TCEmain
Target version:
-
Start date:
2013-07-22
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
6.1
PHP Version:
5.3
Tags:
Complexity:
medium
Is Regression:
No
Sprint Focus:

Description

Tested with v6.1.1, seems to affect 4.7.x too.

This occurs using drag&drop as well as calling the DataHandler itself.

While moving an element to top, its sorting will be set to 0 (the return value of getSortNumber called in line 3512), but the other elements' sorting is not updated. So if you move all elements to the top one after another, they all end up having sorting 0 and will be sorted by their uid instead.

Moving any one of those elements >down< will release the lock by reassigning valid sorting values to all affected content elements.

Best,
Bernhard


Related issues 1 (1 open0 closed)

Related to TYPO3 Core - Bug #68040: Inline localize and/or synchronize does not respect sortingUnder Review2018-03-142018-03-14

Actions
Actions

Also available in: Atom PDF