NonExistingResource should extend SyntheticResource
---------------------------------------------------
Key: SLING-345
URL: https://issues.apache.org/jira/browse/SLING-345
Project: Sling
Issue Type: Bug
Components: API, Resource
Reporter: Felix Meschberger
Assignee: Felix Meschberger
Fix For: 2.0.0
As discussed here [1] the NonExistingResource should also be a
SyntheticResource because it is not actually reflected with a real resource but
is returned from the ResourceResolver.resolve(HttpServletRequest) method when
the request cannot be resolved to a real resource.
In addition a new helper method should be added to the JcrResourceUtil:
// return true if resource is a synthetic resource
public static boolean isSyntheticResource(Resource resource);
[1] http://markmail.org/message/vgtnh73uunouni4e
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.