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
  • ..
  • Repository
  • PageRepository.php
Find file BlameHistoryPermalink
  • Benni Mack's avatar
    [BUGFIX] Mark shortcut pages as active in HMENU · fc6cf2c9
    Benni Mack authored Jan 04, 2022
    This change moves the method resolveShortcutPage()
    into PageRepository as it is now also used in determining
    if a page is marked as active / current.
    
    The method `resolveShortcutPage()` is much more convenient
    when working with $page records instead of the properties,
    instead of `getPageShortcut()`.
    
    This also allows MenuProcessor to have a proper "active"
    and "current" values set properly without any workarounds.
    
    Resolves: #85138
    Resolves: #80841
    Resolves: #87923
    Releases: main, 11.5
    Change-Id: Ic401fb42696757199c5974120f24250c467d9b75
    Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/72860
    
    
    Tested-by: Stefan Bürk's avatarStefan Bürk <stefan@buerk.tech>
    Tested-by: core-ci's avatarcore-ci <typo3@b13.com>
    Tested-by: Oliver Bartsch's avatarOliver Bartsch <bo@cedev.de>
    Tested-by: Benni Mack's avatarBenni Mack <benni@typo3.org>
    Reviewed-by: Stefan Bürk's avatarStefan Bürk <stefan@buerk.tech>
    Reviewed-by: Oliver Bartsch's avatarOliver Bartsch <bo@cedev.de>
    Reviewed-by: Benni Mack's avatarBenni Mack <benni@typo3.org>
    fc6cf2c9