Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
JCR Oak Server 1.2.8
-
None
Description
When running with JCR Oak Server 1.2.8, installing Bundle Content fails with exceptions complaining about UUID conflicts, for example:
{{08.10.2020 23:02:19.406 ERROR Apache Sling Repository Startup Thread #1 org.apache.sling.jcr.contentloader.internal.BundleContentLoader Cannot load initial content for bundle org.apache.sling.cms.ui : OakConstraint0030: Uniqueness constraint violated property [jcr:uuid] having value 5f5e23b5-e45b-4c8f-ac2f-fc725e3c14b6: /libs/sling-cms/components/cms/blank/blank.jsp/jcr:content
javax.jcr.nodetype.ConstraintViolationException: OakConstraint0030: Uniqueness constraint violated property [jcr:uuid] having value 5f5e23b5-e45b-4c8f-ac2f-fc725e3c14b6: /libs/sling-cms/components/cms/blank/blank.jsp/jcr:content}}
Reverting to 1.2.4 resolves the issue. I suspect the issue may be due to the following commit, but I need to do more analysis: https://github.com/apache/sling-org-apache-sling-jcr-oak-server/commit/77c571f03362f1d7b4ec33842c09ef23c85759ed