Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Duplicate
-
JCR Resource 2.0.6, File System Resource Provider 1.0.0, Bundle Resource 2.0.4
-
None
-
None
Description
Currently the resource provider implementations usually check if the resource points to a directory if the repository has a node at this location to allow to let the repository return this node as the directory resource.
This requires the implementations to adapt the resolver to a session, check if the node is available etc.
This looks like a workaround, creates an unnecessary dependency to JCR and might create problems in the future if the repository is not used as a provider or is not the root provider.
One solution would be to let the implementations return "nt:folder" and the resource resolver checks in this case the root provider if it has a resource at the same position and returns that one instead.
Attachments
Issue Links
- duplicates
-
SLING-2541 General mechanism to chain resource providers
- Closed