Stefan Seifert created SLING-3879:
-------------------------------------
Summary: 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
Fix For: Sling Models Implementation 1.0.8
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)