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
  • frontend
  • Classes
  • Typolink
  • PageLinkBuilder.php
Find file BlameHistoryPermalink
  • Benni Mack's avatar
    [BUGFIX] Resolve and link modified slugs in workspaces properly · b666df05
    Benni Mack authored Mar 09, 2019 and Oliver Hader's avatar Oliver Hader committed Mar 25, 2019
    When a page (slug) is modified in a preview workspace,
    links to that page need to be changed to the new slug, as the
    preview (PageRouter) should evaluate this as well.
    
    1) The PageRouter should include records with "-1"
    to find them as well, but then fix the "pid" again to
    find the pid of the online version.
    
    2) The PageLink Builder now uses the SiteFinder nstead of SiteMatcher
    to detect whether the linked page uid is part of a configured site.
    We do not need to create/detect a PseudoSite here, only instances
    of Site are of interest.
    
    Resolves: #87871
    Releases: master, 9.5
    Change-Id: Ifd6add71bec1616049f8c6a50a42bc9f573395e2
    Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/59955
    
    
    Tested-by: Benjamin Franzke's avatarBenjamin Franzke <bfr@qbus.de>
    Tested-by: default avatarTYPO3com <noreply@typo3.com>
    Tested-by: Oliver Hader's avatarOliver Hader <oliver.hader@typo3.org>
    Reviewed-by: Benjamin Franzke's avatarBenjamin Franzke <bfr@qbus.de>
    Reviewed-by: Oliver Hader's avatarOliver Hader <oliver.hader@typo3.org>
    b666df05