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
  • ..
  • ToolbarItems
  • ClearCacheToolbarItem.php
Find file BlameHistoryPermalink
  • Oliver Bartsch's avatar
    [BUGFIX] Do not access tce_db route directly · 71fc29fc
    Oliver Bartsch authored Jan 23, 2023
    In case only one cache clear option is available
    in the toolbar (no dropdown), clicking on the icon
    previously led to a blank page, since the corresponding
    JS event listener did not get called and the tce_db
    route was called directly.
    
    This is now fixed by using the correct class to notify
    the event listener, which will call tce_db in an ajax request.
    
    Resolves: #99671
    Releases: main, 11.5
    Change-Id: I0f6e9259fdf189b5fd021cdc03d9e5d57a290e01
    Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/77533
    
    
    Tested-by: Oliver Bartsch's avatarOliver Bartsch <bo@cedev.de>
    Reviewed-by: Oliver Bartsch's avatarOliver Bartsch <bo@cedev.de>
    Tested-by: Stefan Bürk's avatarStefan Bürk <stefan@buerk.tech>
    Tested-by: core-ci's avatarcore-ci <typo3@b13.com>
    Reviewed-by: Stefan Bürk's avatarStefan Bürk <stefan@buerk.tech>
    Reviewed-by: Benni Mack's avatarBenni Mack <benni@typo3.org>
    Tested-by: Benni Mack's avatarBenni Mack <benni@typo3.org>
    71fc29fc