[ 
https://issues.apache.org/jira/browse/SLING-8233?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

David Bosschaert updated SLING-8233:
------------------------------------
    Description: 
It causes the following exception
{code}
Caused by: java.io.IOException: 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.

  was:
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.


> 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
>            Priority: Major
>             Fix For: Feature Model 0.8.2
>
>
> It causes the following exception
> {code}
> Caused by: java.io.IOException: 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)

Reply via email to