Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.

After Page move, not updating all the links where that path is configured in page AEM 6.5 on-premise

Avatar

Level 3

Hi All,

As we know , this is AEM OOB feature where all the links which is configured with speciifc page should update automatically as part of page move operation.

In Development environment, We see reference page count and Adjust option showed up when moving/renaming page like below with highlighted in yellow color, but in qa/higher environment it is not showing and which leads to issue where internal links are not getting updated after page moved/renamed.

this get API (4502/bin/wcm/heavymove?path) is getting references details in DEV env, but not in QA/higher environment.

 

Is there any configurations we are missing here even though we are seeing references internal links in QA environment like Devenv on specific page?

Please share your suggestions/comments, Thank you.

 

Dev ENV Working case:

 

rajukomari_1-1728404521935.png

 

rajukomari_0-1728404249159.png

QA Env Not Working Case:

rajukomari_4-1728405225753.png

 

 

rajukomari_2-1728404645902.png

rajukomari_3-1728404703504.png

 

 

8 Replies

Avatar

Community Advisor

Hi @raju-komari 

Are you using AMS or Cloud? Can you compare the product versions between both environments?

Also, could you try testing in the STAGE or PROD environments to rule out any issues specific to QA?



Arun Patidar

Avatar

Level 3

Hi Arun, 

Thanks for the update.

It is on-premise and it is managed by our client which is hosted in AWS.

AEM version is 6.5.20.0 across all environments including same acs commons(5.4.0)  and WCM Core (2.21.2)package.

Avatar

Community Advisor

Hi @raju-komari 
Thanks for the info,
Can you please check the error logs?



Arun Patidar

Avatar

Level 3

Hi Arun,

We are not seeing any abnormal errors specific to this Move operation from error logs.

Any info on this get API (4502/bin/wcm/heavymove?path) because this API is not getting reference details from QA/Preprod for specific page move operation.

 

 

Avatar

Community Advisor

Hi,

you can check the logic by decompiling com.day.cq.wcm.cq-wcm-core bundle or enabled debug log

arunpatidar_0-1728477951742.png

 



Arun Patidar

Avatar

Level 3

Hi Arun,

Thanks for the update, we will validate bundle by decompiling and keep you posted.

Avatar

Level 3

Hi Arun,

As part of analysis on WCM CORE API class HeavyMoveDialogServlet.java which is using search API by calling ReferenceSearch.java to get references details and able to identify that below XPATH Query used to get references details through backend WCM API code.

 

//*
[
(jcr:contains(., '/content/health-care/psp/global/us/en/test-page-after-move-on-4'))
]

 

Above query is getting results in Development environment, but not in QA/PREPROD/PRDO Author.

 

any insights/suggestions why results are not coming in other environment's even reference pages are available like development environment.

 

 

Avatar

Level 3

Hi Arun,

There is a custom oak:index which allowed 6 folder paths in QA/Preprod/Prod author, but allowed 9 sub folders in DEV which is working fine.

We have fixed this oak:index to allow subfolders level with 9 like development environment to fix this issue.

Move operation is working as expected after oak:index update.

rajukomari_0-1728918569760.png