request to a repository property throws ClassCastException
----------------------------------------------------------
Key: SLING-161
URL: https://issues.apache.org/jira/browse/SLING-161
Project: Sling
Issue Type: Bug
Reporter: Tobias Bocanegra
The node '/content/test/ contains a property named 'test':
The requested URL /content/test/test.html resulted in an error in Sling Default
Error Handler Servlet.
Exception:
java.lang.ClassCastException: org.apache.jackrabbit.core.PropertyImpl
at
org.apache.sling.jcr.resource.internal.helper.jcr.JcrNodeResource.(JcrNodeResource.java:77)
at
org.apache.sling.jcr.resource.internal.JcrResourceResolverFactoryImpl.getResource(JcrResourceResolverFactoryImpl.java:247)
at
org.apache.sling.jcr.resource.internal.JcrResourceResolver.getResourceInternal(JcrResourceResolver.java:594)
at
org.apache.sling.jcr.resource.internal.JcrResourceResolver.scanPath(JcrResourceResolver.java:575)
at
org.apache.sling.jcr.resource.internal.JcrResourceResolver.transformURL(JcrResourceResolver.java:545)
at
org.apache.sling.jcr.resource.internal.JcrResourceResolver.resolve(JcrResourceResolver.java:251)
at
org.apache.sling.jcr.resource.internal.JcrResourceResolver.resolve(JcrResourceResolver.java:103)
at org.apache.sling.core.impl.request.RequestData.(RequestData.java:157)
....
Suggest to ignore properties in resource resolution and interpret them as
suffix. so the above should resolve to the resource at '/content/test'
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.