Bug #100756
closedJavaScript errors in install tool
100%
Description
I have updated my TYPO3 core test environment running on PHP 8.1 and nginx and the backend is running find but the install tool is not working at all. These are the console errors that I get:
Browser: Firefox 105 under Ubuntu 18 (latest released version)
After some git checkouts I've noticed that the first breaking commit is this one: https://github.com/TYPO3/typo3/commit/df97f469c1d8e0c00fcee34d04384d813341ec62 which updates some npm dependencies. It seams like Firefox 105 is not compatible with them.
Files
Updated by Simon Schaufelberger over 1 year ago
- Related to Feature #99499: Introduce Content Security Policy handling added
Updated by Simon Schaufelberger over 1 year ago
- Subject changed from Content Security Policy errors in install tool to JavaScript errors in install tool
- Description updated (diff)
- Category set to Backend JavaScript
Updated by Simon Schaufelberger over 1 year ago
- Related to deleted (Feature #99499: Introduce Content Security Policy handling)
Updated by Andreas Kienast over 1 year ago
- Status changed from New to Needs Feedback
Does your nginx server already set CSP headers that might be incompatible? I just tested this with Firefox 112 on Fedora 38 and everything works as intended here.
Updated by Andreas Kienast over 1 year ago
Wait, the source of the CSP violations is "moz-extension". Can you please check whether you have a browser extension installed that may cause the issue?
Updated by Simon Schaufelberger over 1 year ago
Andreas Fernandez wrote in #note-9:
Does your nginx server already set CSP headers that might be incompatible? I just tested this with Firefox 112 on Fedora 38 and everything works as intended here.
no, it doesn't.
Wait, the source of the CSP violations is "moz-extension". Can you please check whether you have a browser extension installed that may cause the issue?
Yes, that is one of my addons. I've just done the whole thing in an incognito window and there the error messages are gone but as mentioned in the description before, the main issue is not CSP but a npm dependency issue even though I don't see the actual error in the console.
The last working commit is 3c54a7f97baa83ec66cc0404a6fa4372e6220a4c and the first breaking one is df97f469c1d8e0c00fcee34d04384d813341ec62
Updated by Andreas Kienast over 1 year ago
- Status changed from Needs Feedback to Accepted
Confirmed with Firefox ESR (currently 102). There seems to be an incompatibility with es-module-shims
.
Updated by Gerrit Code Review over 1 year ago
- Status changed from Accepted 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/+/78881
Updated by Andreas Fernandez over 1 year ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset ebec8ae066e4145c297c576328b71f114efc97c8.
Updated by Oliver Hader over 1 year ago
- Is duplicate of Bug #100805: TypeError: Error resolving module specifier "@typo3/install/install.js" added