You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Justin Edelson (JIRA)" <ji...@apache.org> on 2014/08/25 13:45:58 UTC

[jira] [Resolved] (SLING-3879) Sling Models: ResourcePathInjector throws NPE when used with non-resource adaptables

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

Justin Edelson resolved SLING-3879.
-----------------------------------

    Resolution: Fixed

> 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
>            Assignee: Justin Edelson
>              Labels: models
>             Fix For: Sling Models Implementation 1.0.8
>
>         Attachments: 140825_SLING-3879_resourcepathinjector_npe.patch
>
>   Original Estimate: 0h
>  Remaining Estimate: 0h
>
> 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)