You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "David Bosschaert (JIRA)" <ji...@apache.org> on 2019/01/23 14:19:00 UTC

[jira] [Created] (SLING-8233) Reading feature with "complete": true causes an exception

David Bosschaert created SLING-8233:
---------------------------------------

             Summary: Reading feature with "complete": true causes an exception
                 Key: SLING-8233
                 URL: https://issues.apache.org/jira/browse/SLING-8233
             Project: Sling
          Issue Type: Bug
          Components: Feature Model
    Affects Versions: Feature Model IO 0.8.0
            Reporter: David Bosschaert
            Assignee: David Bosschaert
             Fix For: Feature Model 0.8.2


It causes the following exception
{code}
Caused by: java.io.IOException: com.day.cq:cq-quickstart:slingosgifeature:aem-author-cloud-ready:6.5.0-V13399 : Key Extension complete is not one of the allowed types [interface java.util.List] : class java.lang.Boolean
    at org.apache.sling.feature.io.json.JSONReaderBase.checkType (JSONReaderBase.java:495)
    at org.apache.sling.feature.io.json.JSONReaderBase.readArtifacts (JSONReaderBase.java:221)
    at org.apache.sling.feature.io.json.JSONReaderBase.readExtensions (JSONReaderBase.java:388)
    at org.apache.sling.feature.io.json.FeatureJSONReader.readFeature (FeatureJSONReader.java:105)
    at org.apache.sling.feature.io.json.FeatureJSONReader.read (FeatureJSONReader.java:49)
{code}

The final flag is likely affected too.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)