Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • typo3 typo3
  • Project information
    • Project information
    • Activity
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Analytics
    • Analytics
    • CI/CD
    • Insights
    • Repository
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar
  • typo3typo3
  • typo3typo3
  • Repository
Switch branch/tag
  • typo3
  • typo3
  • sysext
  • backend
  • Classes
  • Module
  • Module.php
Find file BlameHistoryPermalink
  • Oliver Bartsch's avatar
    [BUGFIX] Restore backend module rerouting functionality · 9092b231
    Oliver Bartsch authored Jan 23, 2023 and Stefan Bürk's avatar Stefan Bürk committed Jan 23, 2023
    Due to the changes in #99620, it is now possible
    for a second level module to not define any route.
    Such module then automatically uses the routes
    from the first available sub module (third-level).
    
    However, this now led to the fact that it was no
    longer possible for the BackendModuleValidator
    to restore the actually last used third-level module
    of such sub modules, because the module object
    in the Route object got replaced by the fallback.
    
    This use case is now also properly handled by
    checking whether the resolved module is the
    request modules' fallback.
    
    Resolves: #99684
    Related: #99620
    Releases: main
    Change-Id: I8cd19417fa66593dd4c612a07723dcbcf5162f5f
    Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/77539
    
    
    Reviewed-by: Stefan Bürk's avatarStefan Bürk <stefan@buerk.tech>
    Tested-by: core-ci's avatarcore-ci <typo3@b13.com>
    Tested-by: Christian Kuhn's avatarChristian Kuhn <lolli@schwarzbu.ch>
    Reviewed-by: Christian Kuhn's avatarChristian Kuhn <lolli@schwarzbu.ch>
    Tested-by: Stefan Bürk's avatarStefan Bürk <stefan@buerk.tech>
    9092b231