[jira] [Commented] (FELIX-3239) PackageAdmin#getExportedPackages does not work on packages exported by attached fragments

2014-05-26 Thread Bertrand Delacretaz (JIRA)

[ 
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] [Assigned] (FELIX-3239) PackageAdmin#getExportedPackages does not work on packages exported by attached fragments

2014-05-24 Thread David Bosschaert (JIRA)

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

David Bosschaert reassigned FELIX-3239:
---

Assignee: David Bosschaert

 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

2014-05-24 Thread David Bosschaert (JIRA)

[ 
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] [Work started] (FELIX-3239) PackageAdmin#getExportedPackages does not work on packages exported by attached fragments

2014-05-24 Thread David Bosschaert (JIRA)

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

Work on FELIX-3239 started by David Bosschaert.

 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] [Resolved] (FELIX-3239) PackageAdmin#getExportedPackages does not work on packages exported by attached fragments

2014-05-24 Thread David Bosschaert (JIRA)

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

David Bosschaert resolved FELIX-3239.
-

Resolution: Fixed

Resolved in http://svn.apache.org/viewvc?view=revisionrevision=1597276

Bertrand, this fixes the test failure that you posted earlier. I added a unit 
test that exposes the same behaviour as part of the commit.

 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)


PackageAdmin#getExportedPackages does not work on packages exported by attached fragments

2013-09-27 Thread Carsten Ziegeler
Hi,

we're encountering FELIX-3239 - as I don't know the codebase, any hint on
how to solve this?

Regards
Carsten
-- 
Carsten Ziegeler
cziege...@apache.org


[jira] [Commented] (FELIX-3239) PackageAdmin#getExportedPackages does not work on packages exported by attached fragments

2013-09-27 Thread Richard S. Hall (JIRA)

[ 
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] [Comment Edited] (FELIX-3239) PackageAdmin#getExportedPackages does not work on packages exported by attached fragments

2013-04-03 Thread Bertrand Delacretaz (JIRA)

[ 
https://issues.apache.org/jira/browse/FELIX-3239?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13619840#comment-13619840
 ] 

Bertrand Delacretaz edited comment on FELIX-3239 at 4/3/13 2:02 PM:


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.

  was (Author: bdelacretaz):
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
 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

2013-04-02 Thread Bertrand Delacretaz (JIRA)

[ 
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


[jira] [Created] (FELIX-3239) PackageAdmin#getExportedPackages does not work on packages exported by attached fragments

2011-11-23 Thread Guillaume Nodet (Created) (JIRA)
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: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira