Project

General

Profile

Actions

Bug #87184

open

Adding files in content elements opened by reference link modal not possible

Added by Alexander Grein over 5 years ago. Updated about 2 months ago.

Status:
Accepted
Priority:
Should have
Assignee:
-
Category:
Backend JavaScript
Target version:
-
Start date:
2018-12-17
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
9
PHP Version:
7.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

To reproduce:

  1. Go got Module File > Filelist
  2. click on a references link of an e.g. image file (needs to have at least one reference, off corse)
  3. scroll to the bottom of the modal to see the content elements who have references to it and click on the edit pencil
  4. go to the images tab of the opened content elements and click on "add image" button and try to add an additional image

Expected:
Additional added images should appear in the opened content element of the modal

Result:
Nothing happens. No images will be added.


Files

26-10-_2020_16-52-07.jpg (169 KB) 26-10-_2020_16-52-07.jpg Marc Hirdes, 2020-10-26 16:54

Related issues 2 (2 open0 closed)

Related to TYPO3 Core - Bug #86811: can't change file in layerAccepted2018-10-31

Actions
Related to TYPO3 Core - Bug #96297: Can't delete picture from content modalNew2021-12-08

Actions
Actions #1

Updated by Riccardo De Contardi about 5 years ago

I can confirm this issue with 10.0.0-dev, too;

steps to reproduce it

1) add a couple of images to a folder (use filelist module)
2) go to a page
3) create a "text with image" content element
4) images tab > add a relation to one of the images loaded at point 1)
5) go to filelist module > list the files
6) click on the "i" icon of the image that has been added to the CE, scroll to bottom; the "References to this item" should list the content element created at point 3)
7) click on the pencil icon
8) in the popup click on the Images tab and try to add the second image

Results: the relation is not created; the popup to add the image opens, but clicking on the image does nothing. The following JavaScript error is visible in the console:

ElementBrowser.js?bust=eee3a2ea3f8cd393828a2d2654a3e79af246dbb5:13 Uncaught TypeError: Cannot read property 'checkUniqueElement' of undefined
    at e.executeFunctionByName (ElementBrowser.js?bust=eee3a2ea3f8cd393828a2d2654a3e79af246dbb5:13)
    at e.insertElement (ElementBrowser.js?bust=eee3a2ea3f8cd393828a2d2654a3e79af246dbb5:13)
    at e.insertElement (BrowseFiles.js?bust=eee3a2ea3f8cd393828a2d2654a3e79af246dbb5:13)
    at HTMLAnchorElement.<anonymous> (BrowseFiles.js?bust=eee3a2ea3f8cd393828a2d2654a3e79af246dbb5:13)
    at HTMLAnchorElement.dispatch (jquery.js?bust=eee3a2ea3f8cd393828a2d2654a3e79af246dbb5:5183)
    at HTMLAnchorElement.elemData.handle (jquery.js?bust=eee3a2ea3f8cd393828a2d2654a3e79af246dbb5:4991)
Actions #2

Updated by Riccardo De Contardi about 5 years ago

  • Category set to Backend JavaScript
Actions #3

Updated by Frank Nägler almost 5 years ago

  • Status changed from New to Accepted
Actions #4

Updated by Marc Hirdes over 3 years ago

as workaround -> open the view in a new window works. Would be great, if this workaround is not necessary.

Actions #5

Updated by Christian Müller over 3 years ago

  • Related to Bug #86811: can't change file in layer added
Actions #6

Updated by Gerrit Hübbers over 1 year ago

I can confirm this bug still exists in TYPO3 11.5.19. I can reproduce it with https://demo.typo3.org/typo3 .

Actions #7

Updated by Riccardo De Contardi 12 months ago

  • Related to Bug #96297: Can't delete picture from content modal added
Actions #8

Updated by Riccardo De Contardi about 2 months ago

The issue is still present on TYPO3 12.4.11 and 13.1.0-dev (latest main); it can be reproduced with the same steps listed on my comment n°1
(but I am not sure if the JS error is still present)

Actions

Also available in: Atom PDF