References not updated during rollout for inner Live Copy

When nested or inner Live Copies are created in Adobe Experience Manager, page references are not updated to their Live Copy equivalents during rollout and continue to point to the Blueprint path instead. To fix this, enable the Multi-Site Manager (MSM) Update Reference across nested LiveCopies configuration.

Description description

Environment

  • Experience Manager as a Cloud Service
  • Experience Manager 6.5

Issue/Symptoms

When creating some nested/inner Live copies, the references in the content of the page will not be updated to their live-copy equivalent during the Rollout (they will instead reference the Blueprint path).

Cause

An inner Live Copy can be created due to multiple reasons:

  • either by creating them manually (Create > Live Copy)
  • or by editing the Live Copy properties of a sub-page from a Live Copy root

For example, considering the WKND sample website, having the following BluePrint/LiveCopy structure:

  • Blueprint: /content/wknd/language-masters/en
  • Live copy: /content/wknd/us/en and /content/wknd/ca/en

Now, if one opens the Page properties for the page /content/wknd/us/en/magazine/ski-touring (sub-page within the /content/wknd/us/en Live Copy).

Going to the Live Copy tab and changing either of the properties (Live Copy Inheritance, Inherit Rollout Configs from Parent, …) will create an inner Live Copy.

This can be seen from the presence/creation of a cq:LiveSyncConfig at /content/wknd/us/en/magazine/ski-touring/jcr:content/cq:LiveSyncConfig.

The Blueprint Live Copy dashboard (go to the BP page properties then go to Blueprint then go to Live Copy Overview) will also change from:

to:

Resolution resolution

To have references correctly rewritten on the inner Live Copy, enable a specific configuration for the Multi-Site Manager (MSM) Update Action: Update Reference across nested LiveCopies.

Follow these steps to either deploy an Open Service Gateway initiative (OSGi) configuration file or change the setting in the OSGi Web Console when applicable:

  1. Access the Web Console, then go to OSGi > Configuration (http://localhost/system/console/configMgr).
  2. Search for CQ MSM References Update Action (com.day.cq.wcm.msm.impl.actions.ReferencesUpdateActionFactory).
  3. Select the checkbox Update Reference across nested LiveCopies.
recommendation-more-help
3d58f420-19b5-47a0-a122-5c9dab55ec7f