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
  • core
  • Classes
  • Database
  • Connection.php
Find file BlameHistoryPermalink
  • Alexander Stehlik's avatar
    [BUGFIX] Move doctrine initalization to connect() method · 8c40079d
    Alexander Stehlik authored Oct 18, 2017 and Jigal van Hemert's avatar Jigal van Hemert committed Oct 31, 2017
    The event and custom type initalization of doctrine is moved
    to an overwritten connect() method in the Connection class.
    
    This prevents a premature establishment of a database connection
    by calls to getDatabasePlatform().
    
    This fixes the page unavailable during the connectToDB() in
    the Frontend request handling.
    
    Change-Id: Id6087002c7cbb9ed3938c4627d63b77515a7108f
    Releases: master, 8.7
    Resolves: #82795
    Reviewed-on: https://review.typo3.org/54432
    
    
    Tested-by: default avatarTYPO3com <no-reply@typo3.com>
    Reviewed-by: default avatarMorton Jonuschat <m.jonuschat@mojocode.de>
    Tested-by: default avatarMorton Jonuschat <m.jonuschat@mojocode.de>
    Reviewed-by: Jigal van Hemert's avatarJigal van Hemert <jigal.van.hemert@typo3.org>
    Tested-by: Jigal van Hemert's avatarJigal van Hemert <jigal.van.hemert@typo3.org>
    8c40079d