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
  • Susanne Moog's avatar
    [BUGFIX] Allow linking to a targetSite without currentSite · 5360a8f6
    Susanne Moog authored Sep 26, 2018 and Frank Nägler's avatar Frank Nägler committed Sep 27, 2018
    In case no current site exists in a context (for example currently
    eID or other scripting contexts), the pageLinkBuilder threw an error
    when linking to a page with a site configuration. The necessity for
    having a current site config has been removed, the pageLinkBuilder
    can now be used without a current site object and will then always
    generate absolute URLs to the target site.
    
    Resolves: #86384
    Releases: master
    Change-Id: Id8c984c4ac3837d7b4da37a99d43410c6db34187
    Reviewed-on: https://review.typo3.org/58397
    
    
    Tested-by: default avatarTYPO3com <no-reply@typo3.com>
    Reviewed-by: Anja Leichsenring's avatarAnja Leichsenring <aleichsenring@ab-softlab.de>
    Reviewed-by: Henning Liebe's avatarHenning Liebe <h.liebe@neusta.de>
    Tested-by: Henning Liebe's avatarHenning Liebe <h.liebe@neusta.de>
    Reviewed-by: Frank Nägler's avatarFrank Naegler <frank.naegler@typo3.org>
    Tested-by: Frank Nägler's avatarFrank Naegler <frank.naegler@typo3.org>
    5360a8f6