karlpauls edited a comment 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 :-) Anyways, yes, a test would be a good idea :-)
---------------------------------------------------------------- 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: [email protected] With regards, Apache Git Services
