[
https://issues.apache.org/jira/browse/SLING-9825?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17214399#comment-17214399
]
Eric Norman commented on SLING-9825:
------------------------------------
[~dklco] Thanks. I was able to reproduce the problem with your steps. After
switching to the 1.2.9-SNAPSHOT of org.apache.sling.jcr.oak.server I no longer
see any ConstraintViolationException in the logs.
If there are no objections, I'll merge the fix back to the mainline.
> 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
> Priority: Major
> Fix For: JCR Oak Server 1.2.10
>
>
> 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)