Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.

AEM6.4 Classic UI damadmin Issue

Avatar

Level 2

In AEM6.4 on classic ui damadmin console if we move any image which is present in a child folder, the image is moved properly but the page refreshes and points to topmost folder in DAM. In actual, after the page refresh  the control should remain in the same folder where the move was performed.


Inputs plz

11 Replies

Avatar

Community Advisor

Hi,

Can you checked in Touch UI as well?

Because for me in both UI after assets move I am landing to destination folder, this could be the default behaviour.



Arun Patidar

Avatar

Employee

Should land in destination folder

Avatar

Level 2

For me its not landing to destination folder, Its landing onto DAM root folder. Somehow default behavior isn't working. I can see that in the console there is some error as below:
"Uncaught RangeError: Maximum call stack size exceeded at Array.join (native) at CQ.EXT.tree.AsyncTreeNode.getpath....." in widget.js

Avatar

Level 10

I too see this error - this should not be happening. This is not a config setting or anything - just some sort of bug.

Error.png

Avatar

Level 10

I tested in the Touch UI. It works perfectly, lands in the Destination folder and throws no JS errors.

MGS2.png

Avatar

Level 2

Hi smacdonald2008​,

Do you know any fix for this in classic UI. We are also using AEM 6.4

Thanks,

Pradeep

Avatar

Level 10

Use Touch UI as I observed there is no bug. For Classic - when i tested this - there was a bug.

Avatar

Level 2

Hi Scott,

Do you know any fix for this in classic UI. We are also using AEM 6.4

Thanks,

Pradeep

Avatar

Level 2

HI Akanksha,

Do you have any workaround for this. we are also facing the same issue.

Thanks,

Pradeep

Avatar

Level 2

Hi All,

If anyone looking for a fix for this. Please update "loadPath:" function in your "/libs/cq/ui/widgets/source/widgets/wcm/SiteAdmin.js" with the below code by overlaying this js.

var admin = this;

if (!isRecCall) {

  admin.isFirstLoad = true;

}

var callback = function(success, node, selectRecord) {

   if (Boolean(admin.isFirstLoad)) {

   if (success) {

  admin.isFirstLoad = false;

   this.loadPages(node, selectRecord);

  node.expand();

  } else {

   // path not found => load parent
   this.loadPath(

   this.treePath.substring(0, this.treePath.lastIndexOf("/")),

   this.treePath,

   true);

  }

  }

};

Thanks,

Pradeep