Review 11.5 Merged

72254[BUGFIX] Better sorting localizing records from non-default language

Christian Kuhn CR +2 V +2 Hard +259 −71 updated 11/20/21, 11:16

Commit message

Using the "translate" button in page module and localizing
records from non-default language may lead to funny content
element sorting in the target language.

This has been mitigated with probably #85300 and #84951
a while ago already, but there still exists a codewise
misbehavior in DataHandler::getPreviousLocalizedRecordUid().

The patch streamlines the method and applies a fix so
records calculate the correct "before" uid even in
"localization of a localization" context.

Review

  • Code review CR +2 Done
    • Christian Kuhn +2
  • Verified V +2 Done
    • Christian Kuhn +2
    • core-ci +1 CI

Issues 4

Files 16

Review log 34

  1. Christian Kuhn commented on patch set 1 11/20/21, 10:34

    Cherry Picked from branch master.
  2. core-ci voted on patch set 1 V +1 11/20/21, 10:43 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/19587

  3. Christian Kuhn voted on patch set 1 V +2 CR +2 11/20/21, 11:16

  4. Christian Kuhn merged patch set 2 11/20/21, 11:16