You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Felix Meschberger (JIRA)" <ji...@apache.org> on 2009/05/14 22:47:45 UTC

[jira] Created: (SLING-969) /etc/map entries must be applied depth first

/etc/map entries must be applied depth first
--------------------------------------------

                 Key: SLING-969
                 URL: https://issues.apache.org/jira/browse/SLING-969
             Project: Sling
          Issue Type: Bug
          Components: JCR
    Affects Versions: JCR Resource 2.0.4
            Reporter: Felix Meschberger
            Assignee: Felix Meschberger
             Fix For: JCR Resource 2.0.6


In a mapping of the form:

    /etc/map/http
         +--- host.80
                     +--- sling:internalRedirect = "/content"
                     +--- virtual
                                     +--- sling:internalRedirect = "/content"

The child node (virtual) must be compared to the URL before the parent node (host.80). Otherwise the child node would never get a chance to map since an URL mapping the child node always also maps the parent node.

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


[jira] Closed: (SLING-969) /etc/map entries must be applied depth first

Posted by "Felix Meschberger (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SLING-969?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Felix Meschberger closed SLING-969.
-----------------------------------

    Resolution: Fixed

Fixed and added testcase in Rev. 774920.

> /etc/map entries must be applied depth first
> --------------------------------------------
>
>                 Key: SLING-969
>                 URL: https://issues.apache.org/jira/browse/SLING-969
>             Project: Sling
>          Issue Type: Bug
>          Components: JCR
>    Affects Versions: JCR Resource 2.0.4
>            Reporter: Felix Meschberger
>            Assignee: Felix Meschberger
>             Fix For: JCR Resource 2.0.6
>
>
> In a mapping of the form:
>     /etc/map/http
>          +--- host.80
>                      +--- sling:internalRedirect = "/content"
>                      +--- virtual
>                                      +--- sling:internalRedirect = "/content"
> The child node (virtual) must be compared to the URL before the parent node (host.80). Otherwise the child node would never get a chance to map since an URL mapping the child node always also maps the parent node.

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


[jira] Updated: (SLING-969) /etc/map entries must be applied depth first

Posted by "Felix Meschberger (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SLING-969?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Felix Meschberger updated SLING-969:
------------------------------------

    Component/s:     (was: JCR)
                 JCR Resource

> /etc/map entries must be applied depth first
> --------------------------------------------
>
>                 Key: SLING-969
>                 URL: https://issues.apache.org/jira/browse/SLING-969
>             Project: Sling
>          Issue Type: Bug
>          Components: JCR Resource
>    Affects Versions: JCR Resource 2.0.4
>            Reporter: Felix Meschberger
>            Assignee: Felix Meschberger
>             Fix For: JCR Resource 2.0.6
>
>
> In a mapping of the form:
>     /etc/map/http
>          +--- host.80
>                      +--- sling:internalRedirect = "/content"
>                      +--- virtual
>                                      +--- sling:internalRedirect = "/content"
> The child node (virtual) must be compared to the URL before the parent node (host.80). Otherwise the child node would never get a chance to map since an URL mapping the child node always also maps the parent node.

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