#101570TYPO3 crashes on unavailable sys_csp_resolution table while csp is enabled
Description
Reproduce:
- Enable CSP feature for backend
- Ensure
sys_csp_resolutiontable is missing, e.g. executedrop table sys_csp_resolution - Log into TYPO3 backend
- Enable CSP feature for frontend
- Ensure
sys_csp_resolutiontable is missing, e.g. executedrop table sys_csp_resolution - Open TYPO3 frontend
Error:
(1/3) #1146 Doctrine\DBAL\Exception\TableNotFoundException An exception occurred while executing a query: Table 'own_danielsiepmann.sys_csp_resolution' doesn't exist
Triggered by vendor/typo3/cms-core/Classes/Security/ContentSecurityPolicy/Reporting/ResolutionRepository.php line 58 findByScope()