Review main Merged

96140[BUGFIX] Return to originating module after record localization

Georg Ringer CR +2 V +2 Normal +84 −13 updated 11/09/26, 15:51

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
    • Simon Schaufelberger +1
  • Verified V +2 Done
    • Benni Mack +2
    • Simon Schaufelberger +1
    • core-ci +1 CI

Issues 1

Files 12

Review log 811

  1. Georg Ringer uploaded patch set 1 09/28/26, 20:09

  2. Georg Ringer commented on patch set 1 09/28/26, 20:10

    This change is ready for review.
  3. core-ci voted on patch set 1 V -1 09/28/26, 20:20 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/109452

  4. Georg Ringer rebased onto patch set 2 V -1 09/28/26, 21:02

  5. core-ci voted on patch set 2 V +1 09/28/26, 21:23 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/109457

  6. Georg Ringer rebased onto patch set 3 V +1 10/31/26, 14:50

  7. core-ci voted on patch set 3 V +1 10/31/26, 15:00 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/112961

  8. Benni Mack voted on patch set 3 CR +1 V +1 11/09/26, 14:14

  9. Simon Schaufelberger voted on patch set 3 CR +1 V +1 11/09/26, 14:19

  10. Benni Mack voted on patch set 3 CR +2 V +2 11/09/26, 15:51

  11. Benni Mack merged patch set 4 11/09/26, 15:51