Highlighted

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

Avatar

Avatar

santb31007568

Avatar

santb31007568

santb31007568

07-10-2019

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

Replies

Highlighted

Avatar

Avatar

Bharath_valse

Avatar

Bharath_valse

Bharath_valse

07-10-2019

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();

Highlighted

Avatar

Avatar

santb31007568

Avatar

santb31007568

santb31007568

08-10-2019

Thanks Bharath for the quick response its really helpful!