[TYPO3-v4] Please review change for issue #30469: Sorting of localized elements is wrong after copying/moving

Stanislas Rolland typo3 at sjbr.ca
Sat Nov 12 03:54:46 CET 2011


Please review this change: http://review.typo3.org/6032

The change has been tested with 4.5 by the reporter of the issue.
The change is the same for 4.5, 4.6 and master.

Problem:
When copying a content element on a page with two or more languages, the 
pasted element will appear in the correct position on the target page 
whereas the localized partner elements will appear in the first 
(topmost) position above all other elements of this language.

Steps to reproduce:
1) Go to page A (Page needs to have two or more languages)
2) Copy one content element
3) Paste the element to page B below all other CEs (page B needs to have 
two or more languages and two or more content elements)
Result: The main language CE will be in the correct position while the 
pasted language overlay will appear in the first position above all 
already existing records.

Solution:
When copying a record in original language, if a localized
record of the destination record exists for language A, then the
localized record of the copied record, if it exists for language A,
should be inserted after the localized record, in language A, of the
destination record.
The same applies when moving a record in original language.
Similar situation arises when a new localization record is created.

Regards,
Stanislas


More information about the TYPO3-project-v4 mailing list