Ultimo aggiornamento il
3 mag 2021
Problema
Durante l’esecuzione della manutenzione svuotamento della versione, nei registri si osservano errori simili ai seguenti:
01.11.2016 12:37:09.425 *ERROR* [0:0:0:0:0:0:0:1 [1478000197059] POST /etc/versioning/purge.html HTTP/1.1] com.day.cq.wcm.core.impl.VersionManagerImpl Unable to purge version 1.1 for /content/we-retail/language-masters/es/jcr:content : OakIntegrity0001: Unable to delete referenced node javax.jcr.ReferentialIntegrityException: OakIntegrity0001: Unable to delete referenced node at org.apache.jackrabbit.oak.api.CommitFailedException.asRepositoryException(CommitFailedException.java:235) at org.apache.jackrabbit.oak.api.CommitFailedException.asRepositoryException(CommitFailedException.java:212) at org.apache.jackrabbit.oak.jcr.version.ReadWriteVersionManager.removeVersion(ReadWriteVersionManager.java:243) at org.apache.jackrabbit.oak.jcr.delegate.VersionManagerDelegate.removeVersion(VersionManagerDelegate.java:226) at org.apache.jackrabbit.oak.jcr.delegate.VersionHistoryDelegate.removeVersion(VersionHistoryDelegate.java:209) at org.apache.jackrabbit.oak.jcr.version.VersionHistoryImpl$11.performVoid(VersionHistoryImpl.java:240) at org.apache.jackrabbit.oak.jcr.delegate.SessionDelegate.performVoid(SessionDelegate.java:274) at org.apache.jackrabbit.oak.jcr.version.VersionHistoryImpl.removeVersion(VersionHistoryImpl.java:236) at com.day.cq.wcm.core.impl.VersionManagerImpl.purgeVersions(VersionManagerImpl.java:466) at org.apache.jsp.libs.wcm.core.components.versionpurge.POST_jsp$Processor.internalProcess(POST_jsp.java:145) at org.apache.jsp.libs.wcm.core.components.versionpurge.POST_jsp$Processor.process(POST_jsp.java:121) at org.apache.jsp.libs.wcm.core.components.versionpurge.POST_jsp._jspService(POST_jsp.java:404)
Causa
Questo problema è noto e legato al prodotto CQ-104193.
Risoluzione
Una correzione per questo problema è inclusa in SP1 + CFP2 di AEM6.2. Per risolvere il problema, installa l’ultimo Cumulative Fix Pack per AEM6.2.