Closed gerardvh closed 6 years ago
Here's the expected ending behavior for a drag and drop action to a dialog box drop zone:
And here is the actual behavior when dropping an image after installing acs-aem-commons-content
:
Also, I have confirmed this issue is similar when testing on the latest version of Chrome, as well as Safari 11.1.1 on Mac OS 10.12.6, and for AEM versions 6.3.0, 6.3.0.1, 6.3.2.0.
@gerardvh are there any JavaScript errors in the browser's Console between loading the page in the page editor and D&D'ing into the Image component?
Hi @davidjgonzalez, thanks for the response.
I just checked again while watching the Console in Chrome, and the only warning or message is something like this:
Resource interpreted as Document but transferred with MIME type image/png: "file:///Users/gerardvh/Desktop/test%20png%20images/L1030152%20(1).png".
This message appears to be pretty standard and also comes up when dragging and dropping an image on the browser from a different site.
There are no other errors.
Just another note here regarding steps 9 and 10 on the initial issue.
It appears that rebuilding the JSP's and clientlibs after uninstalling the content package fixes the issue again. But there is still an issue while the ACS Commons Content package is installed.
Also, DayCare was able to also reproduce this issue on their end and they have created an internal Jira issue to track it, just in case there is a problem with their code. However, they believe the issue is actually being caused by something in the ACS Commons Content package and were not able to offer any sort of work-around.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Required Information
Expected Behavior
Dragging an image from the filesystem onto the
Image
component dialog drop zone should add the image to the dialog for submission.Actual Behavior
Dragging an image from the filesystem onto the
Image
component dialog drop zone opens the image to be viewed in the browser (default browser behavior).Steps to Reproduce
crx/packmgr
crx/packmgr
Additional Note
At the possibility of this being an issue with AEM itself, I also have created a DayCare ticket for them to investigate the issue on their end.