You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Bertrand Delacretaz (JIRA)" <ji...@apache.org> on 2013/10/22 12:15:44 UTC

[jira] [Resolved] (SLING-3196) ClassLoaderResourceProvider.getChildren() includes unwanted sibling paths

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

Bertrand Delacretaz resolved SLING-3196.
----------------------------------------

    Resolution: Fixed

Reverted the code as it was before SLING-3022 (with a small addition to guard against trailing slashes in paths, should that ever occur) in revision 1534587. ClassLoaderResourceProvider now has full test coverage.

> ClassLoaderResourceProvider.getChildren() includes unwanted sibling paths
> -------------------------------------------------------------------------
>
>                 Key: SLING-3196
>                 URL: https://issues.apache.org/jira/browse/SLING-3196
>             Project: Sling
>          Issue Type: Bug
>          Components: Launchpad
>            Reporter: Bertrand Delacretaz
>            Assignee: Bertrand Delacretaz
>            Priority: Minor
>             Fix For: Launchpad Base 2.5.2
>
>         Attachments: SLING-3196.patch, SLING-3196.patch
>
>
> I'll add a test that demonstrates the problem, calling getPath("resources/install") wrongly includes results like resources/install.jackrabbit/three.jar and resources/install.oak/four.jar
> Running the same test against svn revision 1487419 passes, so the regression was introduced in the meantime.



--
This message was sent by Atlassian JIRA
(v6.1#6144)