Bug #101433
closedSelection of files in FileBrowser is not possible
Added by Jasmina Ließmann over 1 year ago. Updated 5 months ago.
100%
Description
Scenario:
I want to add an image to a content element with CType "textpic" but the selection from file browser is not carried over.
Files
230719_error-filebrowser.jpg (88.3 KB) 230719_error-filebrowser.jpg | Jasmina Ließmann, 2023-07-24 14:44 | ||
230724_filebrowser-test.mp4 (17.6 MB) 230724_filebrowser-test.mp4 | Jasmina Ließmann, 2023-07-24 15:20 |
Updated by Jasmina Ließmann over 1 year ago
Updated by Kevin Appelt over 1 year ago
- Is duplicate of Bug #101231: "disallowed" option of TCA type=file is not properly respected added
Updated by Jasmina Ließmann over 1 year ago
- Description updated (diff)
In the log I can see the following error message:
Core: Error handler (BE): PHP Warning: Undefined array key 1 in /var/www/typo3/vendor/typo3/cms-filelist/Classes/ElementBrowser/FileBrowser.php line 63
It points to:
$disallowed = str_replace('disallowed=', '', $fileExtensions[1]);
The URL of the file browser contains the value 'disallowed':
wizard/record/browse?token=88681af69375cd93bd3a7f5d8767d480801abb90&mode=file&bparams=|||allowed=gif,jpg,jpeg,pdf,png,svg,tif,tiff,webp;disallowed=|data-64-tt_content-3-image-sys_file_reference
--> The error message seems to have been fixed with #101231, but it is still not possible for me to transfer files from the file browser to the content element.
Updated by Jasmina Ließmann over 1 year ago
Attached is a video to clarify. In file browser neither clicking on the file name nor on the + button causes the file to be applied. After selection via checkbox, the loading bar loads very slowly and the file is still not applied. In browser console no error message is shown.
As an addition (if relevant):
The feature toggles for CSP were initially activated in the project, but this has now been deactivated.
'SYS' => [ 'features' => [ 'security.backend.enforceContentSecurityPolicy' => false, 'security.frontend.enforceContentSecurityPolicy' => false, ], ],
Updated by Manfred Egger over 1 year ago
I can confirm this for TYPO3 12.4.3 and 12.4.4. In TYPO3 12.4.2 it's working as expected.
Updated by Gerrit Code Review over 1 year ago
- Status changed from New to Under Review
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/+/80170
Updated by Jasmina Ließmann over 1 year ago
- Is duplicate of deleted (Bug #101231: "disallowed" option of TCA type=file is not properly respected )
Updated by Jasmina Ließmann over 1 year ago
- Related to Bug #101231: "disallowed" option of TCA type=file is not properly respected added
Updated by Kevin Appelt over 1 year ago
- Target version set to next-patchlevel
- Is Regression set to Yes
I can confirm, that it works with 12.4.2 and the issue shown in the video is present in 12.4.3 and 12.4.4
It seems to be triggered by this change https://github.com/typo3/typo3/commit/4c40d747e4
If anyone stumbles across this issue at a later time: more insights might be found in the slack thread regarding this topic
https://typo3.slack.com/archives/C03AM9R17/p1690209557387129
Updated by Gerrit Code Review over 1 year ago
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/+/80171
Updated by Gerrit Code Review over 1 year ago
Patch set 1 for branch 11.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/80172
Updated by Anonymous over 1 year ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset a36132726cdee1d76a22aeddffd811195d3efb98.
Updated by Benjamin Franzke about 1 year ago
- Related to Bug #101753: DDEV & Traefic substitute semi-colon to ampersand in URLs added