Review main Merged

91586[BUGFIX] Preserve route actions in breadcrumb navigation

Oli Bartsch CR +2 V +2 Hard +239 −179 updated 11/13/25, 13:05

Commit message

Previously, breadcrumb navigation in backend modules would lose
route-specific information such as module actions or sub-routes.
For example, when editing a site configuration or using specific
controller actions in modules like indexed_search, clicking on
breadcrumb items would navigate to the default module view instead
of preserving the current action.

This change improves breadcrumb navigation by:

* Extracting full route identifiers from the current request to
  preserve module actions and sub-routes
* Using UriBuilder to generate complete URLs for breadcrumb nodes
* Implementing direct URL-based navigation in the TypeScript
  breadcrumb component via Viewport.ContentContainer.setUrl()
* Adding the extractRouteIdentifier() method to RecordBreadcrumbProvider
  to extract route information from request attributes

The route preservation logic ensures that:
- Parent module breadcrumbs link to base module routes
- Context breadcrumbs (pages, records) preserve the current action
- Users stay in their current view when navigating hierarchies

This improves the user experience by maintaining context during
navigation and preventing unexpected view changes.

Review

  • Code review CR +2 Done
    • Benjamin Franzke +2
    • Benjamin Kott +1
  • Verified V +2 Done
    • Benjamin Franzke +2
    • Benjamin Kott +1
    • core-ci +1 CI

Issues 1

Files 11

Review log 69

  1. Oli Bartsch uploaded patch set 1 11/12/25, 14:38

  2. Oli Bartsch uploaded patch set 2 11/12/25, 14:53

  3. core-ci voted on patch set 1 V -1 11/12/25, 14:55 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/89339

  4. core-ci voted on patch set 2 V -1 11/12/25, 15:12 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/89347

  5. Oli Bartsch uploaded patch set 3 V -1 11/12/25, 15:17

  6. core-ci voted on patch set 3 V +1 11/12/25, 15:24 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/89353

  7. Benjamin Kott voted on patch set 3 CR +1 V +1 11/13/25, 07:39

  8. Benjamin Franzke voted on patch set 3 CR +2 V +2 11/13/25, 13:05

  9. Benjamin Franzke merged patch set 4 11/13/25, 13:05