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 2016/02/09 11:50:18 UTC

[jira] [Resolved] (SLING-5497) ResourceResolver#getResource(Resource, String) should handle a null path returned by the base resource

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

Carsten Ziegeler resolved SLING-5497.
-------------------------------------
    Resolution: Fixed

> ResourceResolver#getResource(Resource, String) should handle a null path returned by the base resource
> ------------------------------------------------------------------------------------------------------
>
>                 Key: SLING-5497
>                 URL: https://issues.apache.org/jira/browse/SLING-5497
>             Project: Sling
>          Issue Type: Improvement
>          Components: ResourceResolver
>    Affects Versions: Resource Resolver 1.4.0
>            Reporter: Carsten Ziegeler
>            Assignee: Carsten Ziegeler
>             Fix For: Resource Resolver 1.5.0
>
>
> The implementation before 1.4.0 handled ResourceResolver#getResource(Resource, String) called with a resource returning null for getPath
> The new implementation is throwing an NPE
> We should handle the case and treat it like a null rsource



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)