#97466Adding an image with filelist won't work
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
Reviews 7
- main 79445[BUGFIX] Fix file selector not adding the file if opened from an iframe
- 13.4 88245[BUGFIX] Guard modal access to prevent same-origin policy errors
- 12.4 88246[BUGFIX] Guard modal access to prevent same-origin policy errors
- main 88212[BUGFIX] Guard modal access to prevent same-origin policy errors
- 12.4 88145[TASK] Allow using element browser in "nested" modal iframes
- 13.4 88144[TASK] Allow using element browser in "nested" modal iframes
- main 86022[TASK] Allow using element browser in "nested" modal iframes
Related issues 4
- Bug #87184Adding files in content elements opened by reference link modal not possible
- Bug #95263Selecting files in ElementBrowser does not work when editing records via info modal in filelist module
- Bug #105301Links to can't be changed if FormEngine is loaded via 2nd modal, e.g. via refindex
- Bug #106170Attaching images to content elements via element browser is broken in Firefox
History 1320
-
Riccardo De Contardi commented and changed status
NewNeeds Feedback <span data-processor="relativetime" data-value="2022-07-09T15:13:49+00:00" > 07/09/22, 15:13 </span> -
Christian Drost commented <span data-processor="relativetime" data-value="2022-07-13T07:31:00+00:00" > 07/13/22, 07:31 </span>
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:5At 11.5.13 i don’t get an error, nothing happens if i try to add another media file.
-
Riccardo De Contardi changed status
Needs FeedbackNew <span data-processor="relativetime" data-value="2022-07-23T07:07:16+00:00" > 07/23/22, 07:07 </span> -
Riccardo De Contardi commented <span data-processor="relativetime" data-value="2022-08-04T08:22:11+00:00" > 08/04/22, 08:22 </span>
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 imagesI could be wrong, but AFAICS there are no javascript errors on the console
BTW the “Select and Upload Files” button seems to work.
-
Benni Mack changed Sprint Focus Stabilization Sprint <span data-processor="relativetime" data-value="2023-06-06T12:59:13+00:00" > 06/06/23, 12:59 </span>
-
Krzysztof Gutkowski commented and changed category TYPO3 Version
1113 <span data-processor="relativetime" data-value="2023-06-15T09:22:17+00:00" > 06/15/23, 09:22 </span>Can reproduce this on v11.5.28, v12.4.2, and
main. -
Gerrit Code Review pushed patch set 1 for main to change 79445 status
NewUnder Review <span data-processor="relativetime" data-value="2023-06-16T13:32:46+00:00" > 06/16/23, 13:32 </span> -
Gerrit Code Review pushed patch set 2 for main to change 79445 <span data-processor="relativetime" data-value="2023-07-07T11:09:07+00:00" > 07/07/23, 11:09 </span>
-
Gerrit Code Review pushed patch set 3 for main to change 79445 <span data-processor="relativetime" data-value="2024-10-18T14:10:06+00:00" > 10/18/24, 14:10 </span>
-
Gerrit Code Review pushed patch set 2 for main to change 86022 <span data-processor="relativetime" data-value="2025-02-10T17:24:33+00:00" > 02/10/25, 17:24 </span>
-
Gerrit Code Review pushed patch set 1 for 13.4 to change 88144 <span data-processor="relativetime" data-value="2025-02-10T17:32:53+00:00" > 02/10/25, 17:32 </span>
-
Gerrit Code Review pushed patch set 1 for 12.4 to change 88145 <span data-processor="relativetime" data-value="2025-02-10T17:33:02+00:00" > 02/10/25, 17:33 </span>
-
Georg Ringer changed Related to #105301 <span data-processor="relativetime" data-value="2025-02-10T19:38:47+00:00" > 02/10/25, 19:38 </span>
-
Oliver Hader commented and changed status
Under ReviewResolved done0 %100 % <span data-processor="relativetime" data-value="2025-02-10T20:25:11+00:00" > 02/10/25, 20:25 </span>Applied in changeset commit:abed0c35d332de9ea3abfaa5e381fd10dcb32075.
-
Garvin Hicking changed Related to #106170 <span data-processor="relativetime" data-value="2025-02-13T13:59:49+00:00" > 02/13/25, 13:59 </span>
-
Oliver Bartsch changed Related to #95263 <span data-processor="relativetime" data-value="2025-05-13T16:18:10+00:00" > 05/13/25, 16:18 </span>
-
Oliver Bartsch changed Related to #87184 <span data-processor="relativetime" data-value="2025-05-13T16:18:33+00:00" > 05/13/25, 16:18 </span>
-
Benni Mack changed status
ResolvedClosed <span data-processor="relativetime" data-value="2025-12-02T14:33:54+00:00" > 12/02/25, 14:33 </span> -
Gerrit Code Review pushed patch set 4 for main to change 79445 status
ClosedUnder Review <span data-processor="relativetime" data-value="2026-04-22T06:52:09+00:00" > 04/22/26, 06:52 </span> -
Benni Mack changed status
Under ReviewClosed <span data-processor="relativetime" data-value="2026-10-07T14:30:57+00:00" > 10/07/26, 14:30 </span>
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!