Project

General

Profile

Actions

Bug #30469

closed

Sorting of localized tt_content elements is wrong after copying

Added by Ollie Groß about 13 years ago. Updated about 7 years ago.

Status:
Closed
Priority:
Should have
Category:
DataHandler aka TCEmain
Target version:
Start date:
2011-09-30
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
4.5
PHP Version:
5.2
Tags:
Complexity:
medium
Is Regression:
Sprint Focus:

Description

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.


Related issues 3 (0 open3 closed)

Related to TYPO3 Core - Bug #35260: Missing selection field in t3lib_TCEmain::getPreviousLocalizedRecordUid()ClosedFrancois Suter2012-03-27

Actions
Related to TYPO3 Core - Bug #83079: wrong sorting of content elements when translating using non-default-language CEs as sourceClosed2017-11-24

Actions
Has duplicate TYPO3 Core - Bug #16845: Incorrect values of colPos, sys_language_uid and sorting after moving records in web > listClosedStanislas Rolland2007-01-09

Actions
Actions #1

Updated by Peter Niederlag about 13 years ago

  • Category set to DataHandler aka TCEmain
  • Complexity set to medium
Actions #2

Updated by Peter Niederlag about 13 years ago

  • Status changed from New to Accepted
Actions #3

Updated by Jochen Rieger about 13 years ago

We would like to sponsor this bugfix... please contact me per PM if you would like to fix it.

Actions #4

Updated by Stanislas Rolland about 13 years ago

The page module allows to change the order of the elements in each language independently. Therefore the corresponding elements may be presented in each language in a completely different order. Is this a bug or a feature?

If a user pastes an element in the default language column, then where should the translated records of this element be inserted if the other translated records are not in the same order as the corresponding records in the default language?

Actions #5

Updated by Stanislas Rolland about 13 years ago

Let us call "destination record" the record after which the copied record should be inserted.

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: if a localized record of the destination record exists for language A, then the localized record of the moved record, if it exists for language A, should be inserted after the localized record, in language A, of the destination record.

Thus, if both the copied/moved record and the destination record have all translations possible for their pages, the localized records of the copied/moved record will be inserted after the localized records in the corresponding languages of the destination record.

Actions #6

Updated by Mr. Hudson about 13 years ago

  • Status changed from Accepted to Under Review

Patch set 1 of change If01e602b0fe68423baba9f9973bd5237c1d0b75a has been pushed to the review server.
It is available at http://review.typo3.org/6032

Actions #7

Updated by Mr. Hudson about 13 years ago

Patch set 1 of change If01e602b0fe68423baba9f9973bd5237c1d0b75a has been pushed to the review server.
It is available at http://review.typo3.org/6038

Actions #8

Updated by Chris topher about 13 years ago

  • Target version changed from 4.5.7 to 4.5.8
Actions #9

Updated by Mr. Hudson about 13 years ago

Patch set 1 of change I78f1703db536bfabb64087f5e3e2064dc09b9eb2 has been pushed to the review server.
It is available at http://review.typo3.org/6380

Actions #10

Updated by Stanislas Rolland about 13 years ago

  • Assignee set to Stanislas Rolland
Actions #11

Updated by Stanislas Rolland about 13 years ago

A similar situation may arise when a new localization record is created. Patch set 2 will insert a new localized record in a given language after the localized record in the same language, if it exists, of the record, in default language, preceding the record being localized.

Actions #12

Updated by Mr. Hudson about 13 years ago

Patch set 1 of change Id483de6ff1246e0f9587bdecb9548ec863706084 has been pushed to the review server.
It is available at http://review.typo3.org/6406

Actions #13

Updated by Mr. Hudson about 13 years ago

Patch set 1 of change I7e95268e159f5c652c1c99b9663293e3a7ff9096 has been pushed to the review server.
It is available at http://review.typo3.org/6407

Actions #14

Updated by Mr. Hudson about 13 years ago

Patch set 2 of change If01e602b0fe68423baba9f9973bd5237c1d0b75a has been pushed to the review server.
It is available at http://review.typo3.org/6032

Actions #15

Updated by Mr. Hudson about 13 years ago

Patch set 3 of change If01e602b0fe68423baba9f9973bd5237c1d0b75a has been pushed to the review server.
It is available at http://review.typo3.org/6032

Actions #16

Updated by Gerrit Code Review almost 13 years ago

Patch set 4 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/6032

Actions #17

Updated by Gerrit Code Review almost 13 years ago

Patch set 2 for branch TYPO3_4-6 has been pushed to the review server.
It is available at http://review.typo3.org/6406

Actions #18

Updated by Gerrit Code Review almost 13 years ago

Patch set 2 for branch TYPO3_4-5 has been pushed to the review server.
It is available at http://review.typo3.org/6407

Actions #19

Updated by Gerrit Code Review almost 13 years ago

Patch set 5 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/6032

Actions #20

Updated by Gerrit Code Review almost 13 years ago

Patch set 3 for branch TYPO3_4-6 has been pushed to the review server.
It is available at http://review.typo3.org/6406

Actions #21

Updated by Gerrit Code Review almost 13 years ago

Patch set 3 for branch TYPO3_4-5 has been pushed to the review server.
It is available at http://review.typo3.org/6407

Actions #22

Updated by Gerrit Code Review almost 13 years ago

Patch set 6 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/6032

Actions #23

Updated by Stanislas Rolland almost 13 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #24

Updated by Stanislas Rolland almost 13 years ago

  • Status changed from Resolved to Under Review
  • Target version changed from 4.5.8 to 4.5.12
Actions #25

Updated by Stanislas Rolland almost 13 years ago

  • Status changed from Under Review to Resolved
Actions #26

Updated by Riccardo De Contardi about 7 years ago

  • Status changed from Resolved to Closed
Actions #27

Updated by Tobias Liebig almost 7 years ago

  • Related to Bug #83079: wrong sorting of content elements when translating using non-default-language CEs as source added
Actions

Also available in: Atom PDF