Replication metadata not updating in AEM publish
Publish instances show missing, outdated, or incorrect replication metadata such as cq:lastReplicated, cq:lastReplicationAction, or Last Published timestamps. This occurs because replication metadata is filtered from publish instances or the replication agent uses a configuration that blocks status updates. This article explains how to identify the behavior and apply the correct fix.
Description description
Environment
- Adobe Experience Manager as a Cloud Service (AEMaaCS)
- AEM 6.5
- AEM Managed Services
- On-premise deployments
Issue/Symptoms
- Published timestamp does not update on author after replication.
cq:lastReplicated,cq:lastReplicatedBy, orcq:lastReplicationActionmissing on publish.- New pages appear as already published immediately after creation.
- Metadata differs between author and publish instances.
- Application code returns null for replication properties on publish.
jcr:createdon publish reflects replication time instead of author value.
Cause
Replication metadata is filtered from publish instances by design in some environments. Replication agent configuration may disable status updates on author. Templates or packages can include replication properties that new content inherits. During replication, nodes are recreated on publish, which updates jcr:created.
Resolution resolution
To resolve this issue, follow these steps:
- Identify the observed scenario: missing metadata, timestamp issues, inherited properties, or publish timestamp differences.
- For author timestamp issues, open replication agent settings and disable the No status update option.
- For missing metadata on publish, accept expected behavior where replication properties are intentionally not available.
- Update application logic to use
jcr:lastModifiedorjcr:createdinstead of replication properties. - Remove replication-related properties from templates to prevent inheritance in new pages.
- Exclude replication properties from content packages by updating filter rules.
- Validate that
jcr:createdon publish reflects replication time and not author values.
Related reading
recommendation-more-help
experience-cloud-kcs-help-kbarticles