[
https://issues.apache.org/jira/browse/SLING-3196?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Bertrand Delacretaz updated SLING-3196:
---------------------------------------
Attachment: SLING-3196.patch
With the attached patch my ClassLoaderResourceProviderChildrenTest passes, and
I think the test is correct.It also allows the runmode-based switching of
bundles to work in launchpad/builder, with is not the case with the current
trunk.
The patch causes ClassLoaderResourceProviderTest, which tests the matching
pattern used to select subpaths, to fail.
[~cziegeler], as you wrote the latter test, do you agree with my patch? If yes
I'll update the ClassLoaderResourceProviderTest and commit.
> 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
>
>
> 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)