Expand my Community achievements bar.

AEM6.5.2 - DAM Assets move not working due to JS Error

Avatar

Level 2

Hi,

In OOTB AEM6.5.2 moving multiple dam assets using the move button of the assets console gives JS error.

This issue is not there in AEM6.5 but observed only after SP1 or SP2.

clientlibs.js:252 Uncaught TypeError: Cannot read property 'toLowerCase' of undefined

    at MoveAssetWizard.processMoveAssets (clientlibs.js:252)

    at MoveAssetWizard.<anonymous> (clientlibs.js:138)

    at HTMLFormElement.dispatch (jquery.js:5227)

    at HTMLFormElement.elemData.handle (jquery.js:4879)

MoveAssetWizard.processMoveAssets @ clientlibs.js:252

(anonymous) @ clientlibs.js:138

dispatch @ jquery.js:5227

elemData.handle @ jquery.js:4879

Thanks,

Santosh Basuthkar

3 Replies

Avatar

Level 4

Seems to be an issue with 6.5.1 and 6.5.2 which should be fixed in 6.5.3 scheduled to be released in December this year. Until then replace line 251 at /libs/dam/gui/coral/components/admin/moveassetwizard/clientlibs/js/wizard.js with the below code. you could create an overlay for the same and later uninstall it when you plan to install 6.5.3

Code be added

var newName = $(".rename-item-name").val();

Avatar

Level 2

Thanks Bharath for the quick response its really helpful!

Avatar

Level 4

should we not overlay the node to apps and then make these changes?