Project

General

Profile

Actions

Bug #83079

closed

wrong sorting of content elements when translating using non-default-language CEs as source

Added by Tobias Liebig almost 7 years ago. Updated about 2 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Localization
Target version:
-
Start date:
2017-11-24
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
9
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

Steps to reproduce:
  • make sure you have at least two "Website language" records (sys_language) in your root node. Let's name them "A" and "B".
  • open the page modul
  • create a blank page
  • create at least three distinct content elements in the default language. Lets name them "1", "2", "3", "4"
  • choose the "Language" view in the "actionMenu" dropdown
  • create a page translation for language "A"
  • translate the content into "A" using the "translate" mode (not 'copy') * these content elements will be created in the correct order
  • create a page translation for language "B"
  • translate the content into "B" using the "translate" mode (not 'copy')
  • choose "A" as translation source for your translation when the dialog asks "Choose the language from which you want to localize the content"
  • the order for "B" will result in "1", "4", "3", "2"

What happens:
The "localize" method in \TYPO3\CMS\Core\DataHandling\DataHandler calls "getPreviousLocalizedRecordUid" to determine after which CE the new translated CE should be placed.
This works okay for the first case (using default as source), but returns a wrong value, when using another translation as source.


Related issues 9 (2 open7 closed)

Related to TYPO3 Core - Bug #30469: Sorting of localized tt_content elements is wrong after copyingClosedStanislas Rolland2011-09-30

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

Actions
Related to TYPO3 Core - Bug #83469: Translation of translations break sorting in tt_contentClosed2018-01-04

Actions
Related to TYPO3 Core - Task #96035: More deterministic functional test DataSetClosed2021-11-18

Actions
Related to TYPO3 Core - Bug #84951: Localization: Copying new record in existing localization has off-by-one issueClosed2018-05-09

Actions
Related to TYPO3 Core - Bug #78220: Translate mode copy does not respect orderClosed2016-10-10

Actions
Related to TYPO3 Core - Bug #81328: Translation didn't sort Elements correct. Needs Feedback2017-05-24

Actions
Related to TYPO3 Core - Bug #93968: false order of localized CE in BE view / "Translate" button is shown but no translateable CE are availableClosed2021-04-22

Actions
Related to TYPO3 Core - Bug #86059: Wrong sorting for localized entries in page module with 8.7.16 and higherClosed2018-08-31

Actions
Actions

Also available in: Atom PDF