Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
Testing ResourceResolver Mock 1.1.4
-
Patch
Description
The MockResourceResolver throws an exception when trying to access a resource outside of the root. The normal ResourceResolver implementation returns just null instead.
Moreover, I get another NullPointerException in MockValueMap#convertForWrite if I try to create a MockResource with null properties (which is for example done in MergedResourceTest).
Patch is attached.
Attachments
Attachments
Issue Links
- blocks
-
SLING-4611 Performance: Consider optimizing MergedResource#getParent and getChild
- Closed