Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-9825

Bundle Content Install Fails in Composite Store Seeding

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • JCR Oak Server 1.2.8
    • JCR Oak Server 1.2.10
    • Oak
    • 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

      Attachments

        Activity

          People

            enorman Eric Norman
            dklco Dan Klco
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 0.5h
                0.5h