Dan Klco created SLING-9825:
-------------------------------

             Summary: Bundle Content Install Fails in Composite Store Seeding
                 Key: SLING-9825
                 URL: https://issues.apache.org/jira/browse/SLING-9825
             Project: Sling
          Issue Type: Bug
          Components: Oak
    Affects Versions: JCR Oak Server 1.2.8
            Reporter: Dan Klco
            Assignee: Dan Klco


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



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to