You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Carsten Ziegeler (Jira)" <ji...@apache.org> on 2020/02/13 09:03:00 UTC

[jira] [Closed] (SLING-8233) Add unit test for reading feature with "complete": true

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

Carsten Ziegeler closed SLING-8233.
-----------------------------------

> Add unit test for reading feature with "complete": true
> -------------------------------------------------------
>
>                 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 1.0.0
>
>
> 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
(v8.3.4#803005)