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

Sling Content Package to Feature Model fails with embedded Bundles

    XMLWordPrintableJSON

Details

    Description

      When a content package contains an embedded bundle the bundle will not be listed inside the generated FM json file if content package requires more than one bundle.

      I have an ui.apps content package that has a bundle which is not provided and one embedded bundle (core). The not provided bundle is listed in the json file but the core is missing.

      If I have a content package with just the embedded bundle it is listed there.

      Failing json file:

      {
      
        "id":"com.peregrine-cms:base.ui.apps:slingosgifeature:1.0-SNAPSHOT",
        "description":"JCR Package for the Peregrine CMS Platform including\n        the Platform Core bundle.",
        "bundles":[
          {
            "id":"org.apache.sling:org.apache.sling.servlet-helpers:1.1.8",
            "start-order":"20"
          }
        ],
      

       
      Working json file:

      {
        "id":"com.peregrine-cms:felib.ui.apps:slingosgifeature:1.0-SNAPSHOT",
        "description":"JCR Package for the Peregrine CMS Felib module.",
        "bundles":[
          {
            "id":"com.peregrine-cms:felib.core:1.0-SNAPSHOT",
            "start-order":"20"
          }
        ],
      

      Attachments

        Issue Links

          Activity

            People

              simone.tripodi Simone Tripodi
              andysch Andreas Schaefer
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: