Expand my Community achievements bar.

MSM - Page Move in Blueprint results in an error in Live Copy

Avatar

Level 2

Hello,

We are having issues moving the page in blueprint. This only started happening after an upgrade to AEM6.4.1. In earlier version of AEM, 6.2.1 this works fine. We created a new Rollout Configuration, added a single PageMoveAction to it, made sure that it is ordered before the default one. Config is triggered on "rollout" action. Once you move a page in blueprint, cq:LiveSyncConfig node gets created under the live copy with the following props: cq:isDeep, cq:moveTarge, cq:rolloutConfigs, and cq:master prop pointing to the new location in blueprint. After rolling out the blueprint page, the live copy page with any live copy specific page content gets moved accordingly to the new location. However, after an update to 6.4.1, this stopped working. Once you move the page in blueprint the cq:LiveSyncConfig node is not getting created in the live copy. There is a following error in the error log:

03.10.2018 11:01:58.407 *WARN* [pool-31-thread-1] org.apache.felix.eventadmin Service [com.day.cq.wcm.msm.impl.LiveRelationshipEventHandler,2608, [org.osgi.service.event.EventHandler]] EventAdmin: Exception during event dispatch [org.osgi.service.event.Event [topic=com/day/cq/wcm/msm/blueprint/pageEvent/synchronous] {modifications=[page moved: /content/site/master/ru/proekty/rtm3 --> /content/site/master/ru/proekty/rtm4, userId: admin]} | [org.osgi.service.event.EventHandler] | Bundle(com.day.cq.wcm.cq-msm-core [347])] (java.lang.IllegalArgumentException: Node /content/site/region/ru/proekty is already a LiveCopy can't create a new one)

Tried enabling the msm log (com.day.cq.wcm.msm), but there was not a lot of helpful info except for the following statement that is happening right before the aforementioned error statement in error.log gets logged:

03.10.2018 11:01:58.382 *DEBUG* [pool-31-thread-1] com.day.cq.wcm.msm.impl.LiveCopyManagerImpl create new LiveCopy at /content/site/region/ru/proekty/rtm3 for move

Since cq:LiveSyncConfig node in live copy does not exist with the cq:master property pointing to the new location in blueprint, rolling out a blueprint page results in a new page in live copy being created with all the live copy specific content lost. It also keeps the old page in the live copy.

Thanks in advance.

1 Reply