Bug #101570
closedTYPO3 crashes on unavailable sys_csp_resolution table while csp is enabled
100%
Description
Reproduce:
- Enable CSP feature for backend
- Ensure
sys_csp_resolution
table is missing, e.g. executedrop table sys_csp_resolution
- Log into TYPO3 backend
- Enable CSP feature for frontend
- Ensure
sys_csp_resolution
table 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()
Updated by Gerrit Code Review over 1 year ago
- Status changed from New to Under Review
Patch set 1 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/80331
Updated by Daniel Siepmann over 1 year ago
- Subject changed from TYPO3 backend crashes on unavailable sys_csp_resolution table while csp is enabled for backend to TYPO3 crashes on unavailable sys_csp_resolution table while csp is enabled
- Description updated (diff)
Updated by Markus Klein over 1 year ago
Can you please precise the issue a bit more? How does the situation occur in a normal case (when not removing tables manually)?
Updated by Gerrit Code Review over 1 year ago
Patch set 2 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/80331
Updated by Gerrit Code Review over 1 year ago
Patch set 3 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/80331
Updated by Christian Kuhn over 1 year ago
It primarily happens during core major core updates: BE bricks. The patch comment now says "usually we wouldn't catch this, but in this case it's convenient for more easy ugrades".
Updated by Gerrit Code Review over 1 year ago
Patch set 1 for branch 12.4 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/80358
Updated by Daniel Siepmann over 1 year ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 5774deaf35f1d8d2ec0a9658028fe88fe4c389b3.