[ 
https://issues.apache.org/jira/browse/SLING-3008?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14017392#comment-14017392
 ] 

Carsten Ziegeler commented on SLING-3008:
-----------------------------------------

With the recent changes of making a value map a first class citizen this change 
is unnecessary anyway as a resource must provide a value map. So the situation 
should not happen anyway.
However, before we had the problem that a json response of a resource simply 
returned an empty response which is totally meaningless and therefore at least 
the information availabel which is the resource type is returned.

> Render resource type (and super type) if resource can't be adapted to a map 
> in JSON
> -----------------------------------------------------------------------------------
>
>                 Key: SLING-3008
>                 URL: https://issues.apache.org/jira/browse/SLING-3008
>             Project: Sling
>          Issue Type: Bug
>          Components: Servlets
>    Affects Versions: Servlets Get 2.1.4
>            Reporter: Carsten Ziegeler
>            Assignee: Carsten Ziegeler
>             Fix For: Servlets Get 2.1.6
>
>
> If the resource can't be adapted to a (value) map, at least resource type and 
> resource super type (if not null) should be rendered in the json output



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to