Drag-and-drop of a folder of assets to AEM Assets Web UI fails
AEM’s web UI doesn’t support the drag-and-drop of assets in folders, but there are a few workarounds.
Description description
Environments
- Adobe Experience Manager (AEM)
- Adobe Experience Cloud Services
Issue
-
The drag-and-drop of a folder that contains assets fails.
-
The UI will show a message:
"1 of [ n] assets failed"
-
The error.log will show a message:
code language-none 11.04.2023 12:16:52.464 *ERROR* [ 0:0:0:0:0:0:0:1 [ 16886753098] POST /content/dam[ target folder name] .createasset.html HTTP/1.1] com.day.cq.dam.api.AssetManager createAsset: repository exception while creating asset [ /content/dam/[ target foldername] [ dragged folder name] ] : jx.jcr.RepositoryException: org.eclipse.jetty.io.EofException: Early EOF
Resolution resolution
AEM’s web UI doesn’t support the drag-and-drop of assets in folders.
Instead, you can:
-
Use the AEM Desktop application which does support this. You’ll find information about the app and how to install it in Use AEM Desktop App in the AEM Tutorials.
-
Compress the folder into a .zip, drag it into the assets, then select it and choose Extract Archive.
- Note: You can also add the Unarchiver step to the DAM UPDATE ASSET workflow model so that .zip files will automatically be unarchived when uploaded.
- You can add these arguments to that step to have the .zip file deleted after the unarchiving:
removeOriginal::true,updateMode::OVERWRITE
recommendation-more-help
3d58f420-19b5-47a0-a122-5c9dab55ec7f