Merge conflict Gerrit cannot merge this change. It needs a rebase onto main.

Review main Work in progress Quiet

77676[FEATURE] Allow overriding auto slug update and redirects per page

Stefan Bürk CR 0 V 0 Hard +350 −34 updated 11/03/26, 18:49

Commit message

SlugRedirectChangeItem now carries the flags autoUpdateSlugs and
autoCreateRedirects. SlugRedirectChangeItemFactory initializes them
from the site settings, sub pages take over the flags of the page
whose slug was changed.

Listeners of SlugRedirectChangeItemCreatedEvent can override the
flags with withAutoUpdateSlugs() and withAutoCreateRedirects(), for
example to exclude a sub tree from the automatic handling although
it is enabled in the site configuration.

SlugService reads the flags from the change item. A sub page with
disabled autoUpdateSlugs keeps its slug and gets no redirect, a
page with both flags disabled is skipped. In a workspace
autoCreateRedirects stays disabled, also after the event.

Test this change

Run a command in your clone of the TYPO3 Core. Then try what the change does and vote on Verified in Gerrit. How to review a patch

Check out patch set 5
git fetch https://review.typo3.org/Packages/TYPO3.CMS refs/changes/76/77676/5 && git checkout FETCH_HEAD
Cherry-pick onto main
git fetch https://review.typo3.org/Packages/TYPO3.CMS refs/changes/76/77676/5 && git cherry-pick FETCH_HEAD

Review

  • Code review CR 0 Needs a vote
  • Verified V 0 Needs a vote
    • core-ci +1 CI

Issues 1

Files 12

Review log 813

  1. Stefan Bürk uploaded patch set 1 02/02/23, 23:20

  2. Stefan Bürk uploaded patch set 2 02/03/23, 00:07

  3. core-ci voted on patch set 1 V -1 02/03/23, 00:14 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/36948

  4. core-ci voted on patch set 2 V -1 02/03/23, 00:32 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/36949

  5. Stefan Bürk uploaded patch set 3 02/03/23, 00:35

    Copied Votes: * Verified-1 (copy condition: "changekind:NO_CHANGE")
  6. Stefan Bürk uploaded patch set 4 02/03/23, 00:36

    Copied Votes: * Verified-1 (copy condition: "changekind:NO_CHANGE")
  7. core-ci voted on patch set 3 V -1 02/03/23, 01:13 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/36950

  8. core-ci voted on patch set 4 V -1 02/03/23, 01:15 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/36951

  9. Jasmina Ließmann wrote 10/31/24, 09:59

    Removed cc Jasmina Ließmann.
  10. Benni Mack wrote 03/22/25, 16:53

    Topic set to redirects
  11. Benni Mack marked it work in progress 04/21/26, 15:15

  12. Georg Ringer uploaded patch set 5 V -1 11/03/26, 18:40

  13. core-ci voted on patch set 5 V +1 11/03/26, 18:49 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/113201