You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by GitBox <gi...@apache.org> on 2019/04/04 13:29:56 UTC

[GitHub] [sling-org-apache-sling-resourceresolver] karlpauls commented on issue #12: SLING-8335 :StringIndexOutOfBoundsException from resolver.map with no…

karlpauls commented on issue #12: SLING-8335 :StringIndexOutOfBoundsException from resolver.map with no…
URL: https://github.com/apache/sling-org-apache-sling-resourceresolver/pull/12#issuecomment-479897370
 
 
   @rombert, I think the patch of @ashokpanghal is fine and IIRC, inline with what @cziegeler recommended when I asked him. The point is that we expect an absolute path per api. If it isn't we currently fail with an Exception (not per api) - hence, returning null is the right thing todo. Sorry, I was just lazy and didn't comment early enough :-)

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services