[ 
https://issues.apache.org/jira/browse/SLING-457?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Felix Meschberger resolved SLING-457.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 2.0.0

In Rev. 658209 I applied a change to the resource super type resolution. There 
is now a JcrResourceUtil.getResourceSuperType(Resource) method which is used by 
the JcrItemResource and the 
SlingRequestDispatcher.TypeOverwritingResourceWrapper.

See the JavaDoc of the new method for more details on how resource super type 
resolution works.

Tobias, if the functionality now works as you expected, please close this 
issue. Thanks.

> script include problem with selectors
> -------------------------------------
>
>                 Key: SLING-457
>                 URL: https://issues.apache.org/jira/browse/SLING-457
>             Project: Sling
>          Issue Type: Bug
>          Components: Servlets Resolver
>    Affects Versions: 2.0.0
>            Reporter: Tobias Bocanegra
>            Assignee: Felix Meschberger
>             Fix For: 2.0.0
>
>
> i have a base resource type /a with a script /a/foo.html.jsp
> then i have a extended resource type /b
> when i have content "/xyz" with resourcetype /b, and a request to 
> "/xyz.foo.html" then it works.
> but when i have an include <sling:include path="./image.foo.html" 
> resourceType="b"/> it does not. when i specify the base resource type, it 
> works.
> it seams like the include resolution does not respect the selectors.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to