Review 14.3 Merged

97448[BUGFIX] Return to originating module after record localization

Benni Mack CR +2 V +2 Normal +84 −13 updated 11/09/26, 16:25

Commit message

Localizing a record via the localization wizard always redirected
to the page module after closing the edit form of the new
translation, even when the wizard was started in the records
module. Translating several records, e.g. news, required switching
back to the records module every time.

The localization button now accepts an optional return URL which
is passed through the wizard to the localization controller,
sanitized and handed to the localization handler as part of the
LocalizationInstructions. The records module provides its list
URL including the anchor of the table, the edit form provides
its own return URL.

Without a return URL, the previous behaviour is kept.

Review

  • Code review CR +2 Done
    • Benni Mack +2
  • Verified V +2 Done
    • Benni Mack +2
    • core-ci +1 CI

Issues 1

Files 12

Review log 46

  1. Benni Mack commented on patch set 1 11/09/26, 15:51

    Cherry Picked from branch main.
  2. core-ci voted on patch set 1 V -1 11/09/26, 15:57 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/113729

  3. Benni Mack commented on patch set 2 V -1 11/09/26, 16:04

    Published edit on patch set 1.
  4. core-ci voted on patch set 2 V +1 11/09/26, 16:15 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/113732

  5. Benni Mack voted on patch set 2 CR +2 V +2 11/09/26, 16:25

  6. Benni Mack merged patch set 3 11/09/26, 16:25