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
    [TASK] Add proper exception handling to RouterInterface logic · ad30de1a
    Benni Mack authored Oct 01, 2018 and Susanne Moog's avatar Susanne Moog committed Oct 01, 2018
    Two new Exceptions are now thrown when routing does not
    work, one being thrown when a URL is generated but could
    not be generated, and one when a URL could not be resolved.
    
    This is much cleaner than the distinction of a nullable return type,
    so the new interface is adapted as well.
    
    As a drive-by fix, the Backend routing exception now inherits from
    this new exception.
    
    Resolves: #86500
    Releases: master
    Change-Id: Ifaf7b61422dfd49df18399c3bcbdf735bc522cba
    Reviewed-on: https://review.typo3.org/58519
    
    
    Tested-by: default avatarTYPO3com <no-reply@typo3.com>
    Reviewed-by: Wouter Wolters's avatarWouter Wolters <typo3@wouterwolters.nl>
    Reviewed-by: Oliver Hader's avatarOliver Hader <oliver.hader@typo3.org>
    Tested-by: Oliver Hader's avatarOliver Hader <oliver.hader@typo3.org>
    Reviewed-by: Susanne Moog's avatarSusanne Moog <susanne.moog@typo3.org>
    Tested-by: Susanne Moog's avatarSusanne Moog <susanne.moog@typo3.org>
    ad30de1a