AEM 6.1 - Deactivate only deleting jcr:content, not page node
I am stumped....
On a page deactivation only the jcr:content node of the page concerned is deleted, not the page itself. I've been completely through our code and cannot find anything that would interfere with the deactivation process. In the AEM log and OSGi event log I get the normal, expected messages:
publish AEM log:
28.12.2016 06:38:47.765 *INFO* [172.17.0.1 [1482907127763] POST /bin/receive HTTP/1.1] com.day.cq.replication.impl.ReplicationReceiverImpl removeRecursive(/content/mypath/my_page) done: 21 nodes deleted, saving...
28.12.2016 06:38:47.770 *INFO* [172.17.0.1 [1482907127763] POST /bin/receive HTTP/1.1] com.day.cq.replication.impl.servlets.ReplicationServlet Processed replication action in 6ms: DEACTIVATE of /content/mypath/my_page
28.12.2016 06:38:47.773 *DEBUG* [Adobe Granite ChainReplicationService Processor] com.day.cq.replication.impl.ChainReplicationService Queue is too young. waiting another 1997ms.
28.12.2016 06:38:49.770 *DEBUG* [Adobe Granite ChainReplicationService Processor] com.day.cq.replication.impl.ChainReplicationService Processing 1 queue entries
28.12.2016 06:38:49.770 *DEBUG* [Adobe Granite ChainReplicationService Processor] com.day.cq.replication.impl.ChainReplicationService Chain-Replicating DEACTIVATE of /content/mypath/my_page
28.12.2016 06:38:49.770 *DEBUG* [Adobe Granite ChainReplicationService Processor] com.day.cq.replication.impl.ChainReplicationService No agent selected.
28.12.2016 06:38:49.770 *DEBUG* [Adobe Granite ChainReplicationService Processor] com.day.cq.replication.impl.ChainReplicationService Queue is empty - waiting for modifications.
OSGi events:
lots or ResourceRemoved then:
| 12/28/2016, 7:10:04 AM | com/day/cq/wcm/core/page |
|
Since the replication is running as admin that rules out permissions problems.
Can anyone suggest anything to check or method to help debug this? Perhaps I am missing a configuration somewhere?
Additional info:
Author is logging a normal 200 success, and reports the page activated/deactivated as normal.
System is AEM 6.1 SP2. Standard OOTB replication config, localhost instances.