[ 
https://issues.apache.org/jira/browse/SLING-9825?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17214275#comment-17214275
 ] 

Eric Norman commented on SLING-9825:
------------------------------------

[~dklco] Can you clarify what specific steps you are using to reproduce this 
error? 

I took a quick look at the Oak and Jcr builder config objects in 
OakSlingRepositoryManager#acquireRepository between 1.24 and 1.2.8. 

In the 1.2.8 config it looks like the editorProvider, indexEditorProvider and 
queryIndexProvider config lists have some of those components twice, once 
coming from the OakDefaultComponents set and the same again via the 
Whiteboard*Provider components. 

I'm not sure if that is the root cause as I haven't been able to reproduce your 
problem locally.

If you want to try a fix that removes the duplicate components, I staged the 
changes in a branch at: 
[https://github.com/enapps-enorman/sling-org-apache-sling-jcr-oak-server/tree/issue/SLING-9825]
 

 

> 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
>
> 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