Expand my Community achievements bar.

Learn about Edge Delivery Services in upcoming GEM session
SOLVED

Live Copy moves don't work after adding mixin to protect new property of content (5.6.1)

Avatar

Level 4

(loosely related to http://help-forums.adobe.com/content/adobeforums/en/experience-manager-forum/adobe-experience-manage...)

 

I have created an event handler for AEM 5.6.1 which adds a "guid" property to the cq:PageContent node (jcr:content) of content that is created.  After setting the "guid" property and saving the node, my custom mix:guid mixin is added to the same node.  The mixin is defined as:

[mix:guid] > mix:referenceable mixin - guid (string) mandatory protected

The setting of the property and addition of the mixin all seems to work correctly, with one exception.  When this event handler has applied to Live Copy content, moving/renaming a Live Copy master no longer propagates the change to its copies.  Other features of Live Copy seem to work fine, but when I rename the master, copies do not get moved.  From the /siteadmin, the copies indicate that the Blueprint page (master) has been deleted.

What could be the reason for this strange behaviour, and can anything be done to fix it?

1 Accepted Solution

Avatar

Correct answer by
Level 10

Unfortunately your config does not work. High level steps to fix is below.  Recommend to reach aem official support team. 

Step1:- Install the hotfix in the order [1] . 
Step2:- Make sure PageMoveActoin is in seperate rollout. For your use case correct config is [2].

[1]

Install Order1:- NPR-3561 (make sure to upgrade after installing http://localhost:4502/libs/cq/compat/components/ntupgrade.html?path=%2Flibs%2Fwcm%2Fmsm%2Fnodetypes%...)
Install Order 2:- NPR-4441
Install Order 3:- NPR-4331
Install Order 4:- NPR-5780
Install Order 5:- NPR-6068

[2]
* PushMove: -> trigger modificaiton action PageMoveActoin
* PushDelete -> trigger modification action contentDelete
* default -> ...

View solution in original post

4 Replies

Avatar

Level 10

provide

  • list of hotfix installed 
  • the output of [1]
  • snapshot of blueprint / livecopy rollout config (Part of page properties dialog)

[1]   http://<host>:<port>/etc/msm/rolloutconfigs.-1.json

Avatar

Level 4

Hotfixes:

  • cq-5.6.1-hotfix-3692-1.2.zip
  • cq-5.6.1-hotfix-3565.zip
  • cq-5.6.1-hotfix-4121-1.4.zip
  • cq-5.6.1-hotfix-4387-1.4.zip
  • cq-5.6.1-hotfix-4641-1.0.zip
  • cq-5.6.1-hotfix-4984-1.0.zip
  • cq-5.6.1-hotfix-5220-1.0.zip
  • cq-5.6.1-hotfix-5631.zip
  • CQ 5.6.1 Security Service Pack-1.1.zip

 

/etc/msm/rolloutconfigs.-1.json: 

 

Snapshot from the Live Copy child (Blueprint tab is disabled):

[img]child-livecopy_tab.png[/img]

 

Both Blueprint and Live Copy tabs are disabled on the master/blueprint page.  Using the Blueprint Control Center (/etc/blueprints.html), the "Edit blueprint config" also launches a disabled dialog.  I've discussed this with one of our content managers, who indicated that he's never seen the Blueprint tab enabled on a blueprint page.

EDIT: Figured out what was needed to enable the Blueprint tab.  Here's a screen shot from the blueprint, notice that there are no "Current Live Copies" listed, even though one exists (and changes to the blueprint are copied to the live copy):
http://imgur.com/6RjTyc2

Avatar

Correct answer by
Level 10

Unfortunately your config does not work. High level steps to fix is below.  Recommend to reach aem official support team. 

Step1:- Install the hotfix in the order [1] . 
Step2:- Make sure PageMoveActoin is in seperate rollout. For your use case correct config is [2].

[1]

Install Order1:- NPR-3561 (make sure to upgrade after installing http://localhost:4502/libs/cq/compat/components/ntupgrade.html?path=%2Flibs%2Fwcm%2Fmsm%2Fnodetypes%...)
Install Order 2:- NPR-4441
Install Order 3:- NPR-4331
Install Order 4:- NPR-5780
Install Order 5:- NPR-6068

[2]
* PushMove: -> trigger modificaiton action PageMoveActoin
* PushDelete -> trigger modification action contentDelete
* default -> ...

Avatar

Level 4

Thanks Sham,

 

I have installed NPR-3561, but the others don't appear to be available for 5.6.1.

Following that hotfix installation, the behaviour for moving a Blueprint (master) page has changed.  It now updates the Live Copies to point at the new Blueprint location, which is a partial resolution.  Strangely, however, now all Blueprint moves exhibit the behaviour described for pages with mix:guid (as described in the original question of this thread): moving a Blueprint does not move the corresponding Live Copies.  Perhaps this now requires the PageMoveAction as a rollout config.