So I am using etc map to shorten URL's and can get the short URL for a given path by -
shortURLPath=resourceResolver.map(pageUrlPath);
Now that I want to get the original URL back, I tried -
resourceResolver.resolve(shortUrlPath);
But this returns "NonExistingResource". I recall doing this on versions prior to 6.0 and used to work. But now it doesnt. Any idea, on how to reverse resolve a mapped path. (AEM 6.1)