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

Stefan Seifert updated SLING-3879:
----------------------------------

    Description: 
the new resource path injector throws an NPE when used with adaptables that are 
no resources, or to be more precise that do not adapt to a value map.

the patch fixes it, and adds unit tests for this scenario (and fixes 2 typos in 
the api class).

  was:
the new resource path injectors throws an NPE when used with adaptables that 
are no resources, or to be more precise that doe not adapt to a value map.

the patch fixes it, and adds unit tests for this scenario (and fixes 2 typos in 
the api class).


> Sling Models: ResourcePathInjector throws NPE when used with non-resource 
> adaptables
> ------------------------------------------------------------------------------------
>
>                 Key: SLING-3879
>                 URL: https://issues.apache.org/jira/browse/SLING-3879
>             Project: Sling
>          Issue Type: Bug
>          Components: Extensions
>    Affects Versions: Sling Models Implementation 1.0.8
>            Reporter: Stefan Seifert
>              Labels: models
>             Fix For: Sling Models Implementation 1.0.8
>
>         Attachments: 140825_SLING-3879_resourcepathinjector_npe.patch
>
>
> the new resource path injector throws an NPE when used with adaptables that 
> are no resources, or to be more precise that do not adapt to a value map.
> the patch fixes it, and adds unit tests for this scenario (and fixes 2 typos 
> in the api class).



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

Reply via email to