Bug #97466
openAdding an image with filelist won't work
0%
Description
Hi there,
i tried to replace a referenced image with the file-list and the js doesn't respond with the recent TYPO3 11 version and on 9.5 i get a JS Error (Uncaught TypeError: context is undefined in ELementBrowser.js)
The steps to reproduce this issues:- Open the file list and click on the number at the end of the row of an image.
- Scroll to the bottom and open one of the referenced data-sets (tested with text & media) in which the image is used.
- Try to add another image with the add mediafile button.
Tested TYPO3 Version:
- 11.5.9 on a DDEV
- 9.5.33 on a Debian Server
Kind regards
Updated by Riccardo De Contardi over 2 years ago
- Status changed from New to Needs Feedback
Hi. May I ask you if this issue still occurs with the latest versions of 11.x and 9.x ?
I mean: 11.5.12 and 9.5.36 ELTS
Thank you!
Updated by Christian Drost over 2 years ago
Hi.
Yes the issue still exists in the latest versions of 9.5.36 and 11.5.13.
JS Error in 9.5.36:
Uncaught TypeError: context is undefined ElementBrowser.js:79:5
At 11.5.13 i don't get an error, nothing happens if i try to add another media file.
Updated by Riccardo De Contardi over 2 years ago
- Status changed from Needs Feedback to New
Updated by Riccardo De Contardi over 2 years ago
I can confirm the behavior reported for 11.5.x on both 11.5.13 and 12.0.0-dev (latest master)
Steps to reproduce¶
1. Open File List module
2. Upload 2 images: test1.jpg and test2.jpg
3. Go to a page
4. Create a content element "Text and images", add a reference to test1.jpg (tab Images > Add Image)
5. save and close
6. Go again on File List module
7. Now test1.jpg has a "1" on the column "Ref" > click on it
8. It opens a popup, scroll down until you reach the "References to this item" part
9. Click on the pencil; it opens a popup where you can edit the "Text and images" element
10. tab Images > Add Image - try to add test2.jpg
11. after you select it, nothing happens, the image is not added to the list of refecenced images
I could be wrong, but AFAICS there are no javascript errors on the console
BTW the "Select and Upload Files" button seems to work.
Updated by Krzysztof Gutkowski over 1 year ago
- Category set to Backend User Interface
- TYPO3 Version changed from 11 to 13
Can reproduce this on v11.5.28, v12.4.2, and main
.
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/+/79445
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/+/79445
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/+/79445