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

[jira] [Updated] (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 ]

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

    Attachment: 140825_SLING-3879_resourcepathinjector_npe.patch

> 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 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).



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