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

Felix Meschberger commented on SLING-528:
-----------------------------------------

Ehrm, a SyntheticResource does not really exist and is an "include" artifact. 
But probably, we should do better in this case than just throwing a 
ServletException, anyway .

> ServletException on request for synthtic resource
> -------------------------------------------------
>
>                 Key: SLING-528
>                 URL: https://issues.apache.org/jira/browse/SLING-528
>             Project: Sling
>          Issue Type: Bug
>          Components: Servlets Get
>            Reporter: christian
>            Assignee: Felix Meschberger
>
> Have a Resource at path "/synthetic" 
> Requesting this resource SlingDefaultGetServlet throws an ServletException 
> with the message
> "path=/synthetic does not adapt to a Node or a Property".
> This is thrown by the PlainTextRendererSerlvet, which expects a JCR Resource.
> I would suggest to fail gracefully. Like rendering the ResourceMetadata

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to