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

IllegalStateException in Model-to-Feature converter for multiple repoinit sections

    XMLWordPrintableJSON

Details

    Description

      Trying to convert the sling-org-apache-sling-starter I get the below exception, as due to SLING-7919 the sling-event feature there contains two :repoinit sections.

      Exception in thread "main" java.lang.IllegalStateException
      	at org.apache.sling.feature.Extension.getText(Extension.java:111)
      	at org.apache.sling.feature.modelconverter.ProvisioningToFeature.buildFromFeature(ProvisioningToFeature.java:444)
      	at org.apache.sling.feature.modelconverter.ProvisioningToFeature.buildFeatures(ProvisioningToFeature.java:477)
      	at org.apache.sling.feature.modelconverter.ProvisioningToFeature.convert(ProvisioningToFeature.java:113)
      	at org.apache.sling.feature.modelconverter.impl.Main.main(Main.java:195)
      

      Attachments

        Issue Links

          Activity

            People

              bdelacretaz Bertrand Delacretaz
              bdelacretaz Bertrand Delacretaz
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: