AEM 6.5 Asset download issue( Possibly a bug) | Community
Skip to main content
Level 4
September 27, 2020
Solved

AEM 6.5 Asset download issue( Possibly a bug)

  • September 27, 2020
  • 1 reply
  • 1990 views

I was trying to download an asset folder from content DAM to my local. When i tried to look at the files( the downloaded file sub folders names are messed up

actual name /content/dam/folder/subfolder 

downloaded name /content/dam/folder/Subfolder with a capital S instead of a lower case s.

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Manjunath_K

Hi @aemnewbie 

 

Whenever we download asset from content DAM, the folder names inside that package will have/refer to "Title" of that folder not the "Name"( which appears in content DAM path /content/dam/name ). it is expected behavior/working not a BUG.

 

Created sub folders with different Title as highlighted below.

 

 

 

Sub folder with "Title" 

 

 

 

 

Downloaded Asset package having Title i.e. "SubFolder2" as sub folder name not "subfolder2" as expected.

 

 

 

 

1 reply

Manjunath_K
Manjunath_KAccepted solution
Level 7
September 27, 2020

Hi @aemnewbie 

 

Whenever we download asset from content DAM, the folder names inside that package will have/refer to "Title" of that folder not the "Name"( which appears in content DAM path /content/dam/name ). it is expected behavior/working not a BUG.

 

Created sub folders with different Title as highlighted below.

 

 

 

Sub folder with "Title" 

 

 

 

 

Downloaded Asset package having Title i.e. "SubFolder2" as sub folder name not "subfolder2" as expected.

 

 

 

 

AEMnewbieAuthor
Level 4
September 27, 2020

@manjunath_kI did notice that .. But AEM assets are not located by Title right ...Let me state it with the. example here .. Like i stated it my my question the issue is the assets are downloaded by Title and not with its actual Name... The main problem is when we upload those assets back to another instance it creates the file with Title name ...But the AEM assets are not traversed by Title name correct ..

 

The issue i am facing ..I had some assets corrupted in one AEM instance, so i was trying to reload it from another instance .

So started with downloading assets and copied it back to the corrupted instance

Actual behavior 

they should be one path in the corrupted instance

/content/folder/subfolder

But since the downloaded files were created with /content/folder/Subfolder it created two paths

/content/folder/Subfolder

/content/folder/subfolder  .I have tons of references for those assets ..Now we an additional overhead to address that .

So my question is when we try to locate any asset in AEM we locate it by its name and not title. So why does the OOTB AEM is to downloading assets by Title name? Because we dont use TITLE NAME to look for an asset path we just its actual name .  This would really name sense if the path of the asset is determined by its Title name. Not otherwise