[
https://issues.apache.org/jira/browse/SLING-345?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Felix Meschberger closed SLING-345.
-----------------------------------
Resolution: Fixed
Implemented this issue:
* NonExistingResource extends SyntheticResource in Rev. 642176
* new helper method JcrResourceUtil.isSyntheticResource in Rev. 642178
* check for SyntheticResource in UjaxPostProcessor in Rev. 642179
Closing this issue for now
> NonExistingResource should extend SyntheticResource
> ---------------------------------------------------
>
> Key: SLING-345
> URL: https://issues.apache.org/jira/browse/SLING-345
> Project: Sling
> Issue Type: Bug
> Components: API, Resource, ujax
> 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.