We have a requirement where we need to replicate a locked page .
OOTB - com.day.cq.replication.impl.ReplicatorImpl is failing as pre processor defined in VersionManagerImpl is called before replication and fails the replication api
if (page.isLocked()) {
throw new ReplicationException("Locked pages cannot be replicated. The owner needs to unlock the page first. Cannot perform replication");
}
For now, we have disabled component com.day.cq.wcm.core.impl.VersionManagerImpl and we do not have version purge requirement (suppressversion - true ).
Is there a way to disable OOTB replication preprocessor only or override the replication preprocessor ?
Or any other solutions to replicate a locked page ?