[jira] [Commented] (FELIX-3239) PackageAdmin#getExportedPackages does not work on packages exported by attached fragments
[ https://issues.apache.org/jira/browse/FELIX-3239?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14008780#comment-14008780 ] Bertrand Delacretaz commented on FELIX-3239: Thanks David, your test does match my scenario. And it is *a bit* simpler than mine ;-) PackageAdmin#getExportedPackages does not work on packages exported by attached fragments - Key: FELIX-3239 URL: https://issues.apache.org/jira/browse/FELIX-3239 Project: Felix Issue Type: Bug Affects Versions: framework-4.0.1 Reporter: Guillaume Nodet Assignee: David Bosschaert Fix For: framework-4.6.0 -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Commented] (FELIX-3239) PackageAdmin#getExportedPackages does not work on packages exported by attached fragments
[ https://issues.apache.org/jira/browse/FELIX-3239?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14008064#comment-14008064 ] David Bosschaert commented on FELIX-3239: - I'll have a look at this... PackageAdmin#getExportedPackages does not work on packages exported by attached fragments - Key: FELIX-3239 URL: https://issues.apache.org/jira/browse/FELIX-3239 Project: Felix Issue Type: Bug Affects Versions: framework-4.0.1 Reporter: Guillaume Nodet Assignee: David Bosschaert Fix For: framework-4.6.0 -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Commented] (FELIX-3239) PackageAdmin#getExportedPackages does not work on packages exported by attached fragments
[ https://issues.apache.org/jira/browse/FELIX-3239?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13779887#comment-13779887 ] Richard S. Hall commented on FELIX-3239: I think I understand why this started happening. While specifying the R5 resolver API we changed how we handled attached fragment capabilities. The old approach actually attached fragment capabilities to the host, but the new approach doesn't. This is likely the root of the issue. I'll try to take a look into it. PackageAdmin#getExportedPackages does not work on packages exported by attached fragments - Key: FELIX-3239 URL: https://issues.apache.org/jira/browse/FELIX-3239 Project: Felix Issue Type: Bug Affects Versions: framework-4.0.1 Reporter: Guillaume Nodet Fix For: framework-4.4.0 -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (FELIX-3239) PackageAdmin#getExportedPackages does not work on packages exported by attached fragments
[ https://issues.apache.org/jira/browse/FELIX-3239?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13619840#comment-13619840 ] Bertrand Delacretaz commented on FELIX-3239: This used to work in 3.x versions (tested with 3.0.8 and 3.2.2) but does not in 4.0.1 or 4.0.2. I have created a test at https://github.com/bdelacretaz/felix-fragment-tests, running mvn clean test -Dfelix.version=4.0.2 at the top of that causes FragmentsTest.testPackageFromFragment to fail. The test is really simple, just calls getExportedPackage(ch.x42.felix.fragmenttests.fragment) where the ch.x42.felix.fragmenttests.fragment package is provided by the test's fragment-bundle which is attached to the test's host-bundle. I haven't found a place in the Felix codebase to add such a test, that requires two test bundles. PackageAdmin#getExportedPackages does not work on packages exported by attached fragments - Key: FELIX-3239 URL: https://issues.apache.org/jira/browse/FELIX-3239 Project: Felix Issue Type: Bug Affects Versions: framework-4.0.1 Reporter: Guillaume Nodet -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira