Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

AEM6.4 Classic UI damadmin Issue

Akanksha_Pratih
Level 2
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

6 Replies
Arun_Patidar
Community Advisor
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.

Akanksha_Pratih
Level 2
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

smacdonald2008
Level 10
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

smacdonald2008
Level 10
Level 10

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

MGS2.png

pradeepn6086740
Level 2
Level 2

Hi smacdonald2008​,

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

Thanks,

Pradeep

smacdonald2008
Level 10
Level 10

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

pradeepn6086740
Level 2
Level 2

Hi Scott,

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

Thanks,

Pradeep

pradeepn6086740
Level 2
Level 2

HI Akanksha,

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

Thanks,

Pradeep

pradeepn6086740
Level 2
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