You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Guillaume Nodet (JIRA)" <ji...@apache.org> on 2011/02/18 09:14:11 UTC

[jira] Created: (FELIX-2850) PackageAdmin return fragments / hosts even if the host isn't resolved

PackageAdmin return fragments / hosts even if the host isn't resolved
---------------------------------------------------------------------

                 Key: FELIX-2850
                 URL: https://issues.apache.org/jira/browse/FELIX-2850
             Project: Felix
          Issue Type: Bug
            Reporter: Guillaume Nodet


It seems fragments are attached before the resolution when the fragment is installed and PackageAdmin uses this information, so it will return those fragments even if the host isn't (or can't be) resolved.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Assigned: (FELIX-2850) PackageAdmin return fragments / hosts even if the host isn't resolved

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

Guillaume Nodet reassigned FELIX-2850:
--------------------------------------

    Assignee: Guillaume Nodet

> PackageAdmin return fragments / hosts even if the host isn't resolved
> ---------------------------------------------------------------------
>
>                 Key: FELIX-2850
>                 URL: https://issues.apache.org/jira/browse/FELIX-2850
>             Project: Felix
>          Issue Type: Bug
>            Reporter: Guillaume Nodet
>            Assignee: Guillaume Nodet
>
> It seems fragments are attached before the resolution when the fragment is installed and PackageAdmin uses this information, so it will return those fragments even if the host isn't (or can't be) resolved.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Resolved: (FELIX-2850) PackageAdmin return fragments / hosts even if the host isn't resolved

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

Guillaume Nodet resolved FELIX-2850.
------------------------------------

       Resolution: Fixed
    Fix Version/s: framework-3.0.9

> PackageAdmin return fragments / hosts even if the host isn't resolved
> ---------------------------------------------------------------------
>
>                 Key: FELIX-2850
>                 URL: https://issues.apache.org/jira/browse/FELIX-2850
>             Project: Felix
>          Issue Type: Bug
>            Reporter: Guillaume Nodet
>            Assignee: Guillaume Nodet
>             Fix For: framework-3.0.9
>
>
> It seems fragments are attached before the resolution when the fragment is installed and PackageAdmin uses this information, so it will return those fragments even if the host isn't (or can't be) resolved.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (FELIX-2850) PackageAdmin return fragments / hosts even if the host isn't resolved

Posted by "Richard S. Hall (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/FELIX-2850?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12996456#comment-12996456 ] 

Richard S. Hall commented on FELIX-2850:
----------------------------------------

In trunk, I agree, the resolution process isn't involved. But the new version of the resolver doesn't pre-attach fragments, so this issue might not even exist once it is committed.

> PackageAdmin return fragments / hosts even if the host isn't resolved
> ---------------------------------------------------------------------
>
>                 Key: FELIX-2850
>                 URL: https://issues.apache.org/jira/browse/FELIX-2850
>             Project: Felix
>          Issue Type: Bug
>            Reporter: Guillaume Nodet
>
> It seems fragments are attached before the resolution when the fragment is installed and PackageAdmin uses this information, so it will return those fragments even if the host isn't (or can't be) resolved.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (FELIX-2850) PackageAdmin return fragments / hosts even if the host isn't resolved

Posted by "Richard S. Hall (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/FELIX-2850?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12996440#comment-12996440 ] 

Richard S. Hall commented on FELIX-2850:
----------------------------------------

Yeah, that sounds like a bug, but I wouldn't worry about it unless you need a fix right now, since I will be committing some major resolver changes probably next week that totally re-write fragment handling.

> PackageAdmin return fragments / hosts even if the host isn't resolved
> ---------------------------------------------------------------------
>
>                 Key: FELIX-2850
>                 URL: https://issues.apache.org/jira/browse/FELIX-2850
>             Project: Felix
>          Issue Type: Bug
>            Reporter: Guillaume Nodet
>
> It seems fragments are attached before the resolution when the fragment is installed and PackageAdmin uses this information, so it will return those fragments even if the host isn't (or can't be) resolved.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (FELIX-2850) PackageAdmin return fragments / hosts even if the host isn't resolved

Posted by "Guillaume Nodet (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/FELIX-2850?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12996450#comment-12996450 ] 

Guillaume Nodet commented on FELIX-2850:
----------------------------------------

I think the problem is really limited to PackageAdmin.  Maybe PackageAdmin should just return an empty host list is the fragment isn't resolved and should prune the list of fragments attached to those that are actually resolved ?  Not sure the resolution process is involved here.

> PackageAdmin return fragments / hosts even if the host isn't resolved
> ---------------------------------------------------------------------
>
>                 Key: FELIX-2850
>                 URL: https://issues.apache.org/jira/browse/FELIX-2850
>             Project: Felix
>          Issue Type: Bug
>            Reporter: Guillaume Nodet
>
> It seems fragments are attached before the resolution when the fragment is installed and PackageAdmin uses this information, so it will return those fragments even if the host isn't (or can't be) resolved.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira