Bug #106170
closedAttaching images to content elements via element browser is broken in Firefox
100%
Description
It seems with Firefox (134.0.2) the changes in element-browser.js create an error, which does not happen with Chromium. It somehow seems related to CORS and the FF security model for accessing a frame?
See screenshot.
Reverting element-browser.js to the version of TYPO3 13.4.4 makes it work again.
Slack discussion thread: https://typo3.slack.com/archives/C025BQLFA/p1739386874937549
Files
Updated by Garvin Hicking about 1 month ago
- Related to Bug #97466: Adding an image with filelist won't work added
- Related to Bug #105172: Filepicker (Element Browser) closing without creating the link to File added
Updated by Garvin Hicking about 1 month ago
- Subject changed from Attaching images to Content elements is broken to Attaching images to content elements via element browser is broken in Firefox
Updated by Garvin Hicking about 1 month ago
Update: The reason is LastPass. It seems to inject custom iframes, which the new JS code tries to access (because it thinks the iframes belongs to TYPO3).
A solution would be to check the iterated iframes if they are really accessible.
Updated by Gerrit Code Review about 1 month 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/+/88212
Updated by Gerrit Code Review about 1 month 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/+/88212
Updated by Gerrit Code Review about 1 month 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/+/88212
Updated by Oliver Hader about 1 month ago
Updated by Oliver Hader about 1 month ago
Side-note:
I registered a free account of LastPast.com, installed the browser extension and was able to reproduce the original (faulty) behavior.
Updated by Gerrit Code Review about 1 month ago
Patch set 1 for branch 13.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/+/88245
Updated by Gerrit Code Review about 1 month 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/+/88246
Updated by Garvin Hicking about 1 month ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset c238621247e51ded79eb89b5cda5e9b2d23d641d.