[ https://issues.apache.org/jira/browse/SLING-1023?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ian Boston updated SLING-1023: ------------------------------ Attachment: SLING-1023.patch Here is a patch against r788637 I would also be happy to contribute something that uses it eg http://github.com/ieb/open-experiments/blob/7df1869137eba26e4b2af1d5da966af4ec59c0d6/slingtests/osgikernel/bundles/resource/src/main/java/org/sakaiproject/kernel/resource/AbstractPathResourceTypeProvider.java http://github.com/ieb/open-experiments/blob/7df1869137eba26e4b2af1d5da966af4ec59c0d6/slingtests/osgikernel/bundles/resource/src/main/java/org/sakaiproject/kernel/resource/AbstractVirtualPathServlet.java http://github.com/ieb/open-experiments/blob/7df1869137eba26e4b2af1d5da966af4ec59c0d6/slingtests/osgikernel/bundles/resource/src/main/java/org/sakaiproject/kernel/resource/VirtualResource.java > Allow NonExistant Resources to have a Resource Type > --------------------------------------------------- > > Key: SLING-1023 > URL: https://issues.apache.org/jira/browse/SLING-1023 > Project: Sling > Issue Type: Improvement > Affects Versions: JCR Resource 2.0.4 > Reporter: Ian Boston > Attachments: SLING-1023.patch > > > We have been using a patch to the jcr.resolver bundle that allows us to map > non existent resources to a resource type so that they can be handled by a > servlet registered to that resource type. Our use case is to allow a node to > act as a marker and container for the virtual store where the URL path does > not equal the JCR storage path. > eg the URL > /_user/messages/ieb/10000000001 > maps to > /_user/messages/ed/fe/45/3e/ieb/23/ef/e4/d0/10000000001 > where only the node > /_user/messages is marked with a resource type. > Patch to follow. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.