[
https://issues.apache.org/jira/browse/SLING-3879?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Justin Edelson updated SLING-3879:
----------------------------------
Assignee: Justin Edelson
Remaining Estimate: 0h
Original Estimate: 0h
> 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)