You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Justin Edelson (JIRA)" <ji...@apache.org> on 2011/03/31 16:06:05 UTC

[jira] [Created] (SLING-2043) Upon the installation of a fragment bundle, a refreshPackages call should be made on the host bundle

Upon the installation of a fragment bundle, a refreshPackages call should be made on the host bundle
----------------------------------------------------------------------------------------------------

                 Key: SLING-2043
                 URL: https://issues.apache.org/jira/browse/SLING-2043
             Project: Sling
          Issue Type: Improvement
          Components: Installer
            Reporter: Justin Edelson


Fragment bundles don't get started, but for them to become attached to the host, refreshPackages() must be called on the host bundle (assuming that the host bundle has been started).

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

[jira] [Assigned] (SLING-2043) Upon the installation of a fragment bundle, a refreshPackages call should be made on the host bundle

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

Carsten Ziegeler reassigned SLING-2043:
---------------------------------------

    Assignee: Carsten Ziegeler

> Upon the installation of a fragment bundle, a refreshPackages call should be made on the host bundle
> ----------------------------------------------------------------------------------------------------
>
>                 Key: SLING-2043
>                 URL: https://issues.apache.org/jira/browse/SLING-2043
>             Project: Sling
>          Issue Type: Improvement
>          Components: Installer
>            Reporter: Justin Edelson
>            Assignee: Carsten Ziegeler
>             Fix For: Installer Core 3.2.0
>
>
> Fragment bundles don't get started, but for them to become attached to the host, refreshPackages() must be called on the host bundle (assuming that the host bundle has been started).

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

        

[jira] [Commented] (SLING-2043) Upon the installation of a fragment bundle, a refreshPackages call should be made on the host bundle

Posted by "Carsten Ziegeler (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SLING-2043?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13060674#comment-13060674 ] 

Carsten Ziegeler commented on SLING-2043:
-----------------------------------------

Thanks for your patch, Justin - it looks pretty good to me.

Now, I think the problem is the old Felix framework. I switched to Equinox for this test and then it works.
I also tried to use a newer Pax Exam version (which would allow us to use a newer Felix framework) but completly failed in upgrading

> Upon the installation of a fragment bundle, a refreshPackages call should be made on the host bundle
> ----------------------------------------------------------------------------------------------------
>
>                 Key: SLING-2043
>                 URL: https://issues.apache.org/jira/browse/SLING-2043
>             Project: Sling
>          Issue Type: Improvement
>          Components: Installer
>            Reporter: Justin Edelson
>            Assignee: Carsten Ziegeler
>             Fix For: Installer Core 3.2.0
>
>         Attachments: SLING-2043.patch
>
>
> Fragment bundles don't get started, but for them to become attached to the host, refreshPackages() must be called on the host bundle (assuming that the host bundle has been started).

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

        

[jira] [Updated] (SLING-2043) Upon the installation of a fragment bundle, a refreshPackages call should be made on the host bundle

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

Justin Edelson updated SLING-2043:
----------------------------------

    Attachment: SLING-2043.patch

Carsten - glad to see you've picked this up. I started working on it and conceptually think I have the change done, but I can't get the test written to pass. Attaching a patch with my diff. Hope this helps....

> Upon the installation of a fragment bundle, a refreshPackages call should be made on the host bundle
> ----------------------------------------------------------------------------------------------------
>
>                 Key: SLING-2043
>                 URL: https://issues.apache.org/jira/browse/SLING-2043
>             Project: Sling
>          Issue Type: Improvement
>          Components: Installer
>            Reporter: Justin Edelson
>            Assignee: Carsten Ziegeler
>             Fix For: Installer Core 3.2.0
>
>         Attachments: SLING-2043.patch
>
>
> Fragment bundles don't get started, but for them to become attached to the host, refreshPackages() must be called on the host bundle (assuming that the host bundle has been started).

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

        

[jira] [Updated] (SLING-2043) Upon the installation of a fragment bundle, a refreshPackages call should be made on the host bundle

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

Carsten Ziegeler updated SLING-2043:
------------------------------------

    Fix Version/s: Installer Core 3.2.0

> Upon the installation of a fragment bundle, a refreshPackages call should be made on the host bundle
> ----------------------------------------------------------------------------------------------------
>
>                 Key: SLING-2043
>                 URL: https://issues.apache.org/jira/browse/SLING-2043
>             Project: Sling
>          Issue Type: Improvement
>          Components: Installer
>            Reporter: Justin Edelson
>            Assignee: Carsten Ziegeler
>             Fix For: Installer Core 3.2.0
>
>
> Fragment bundles don't get started, but for them to become attached to the host, refreshPackages() must be called on the host bundle (assuming that the host bundle has been started).

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

        

[jira] [Resolved] (SLING-2043) Upon the installation of a fragment bundle, a refreshPackages call should be made on the host bundle

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

Carsten Ziegeler resolved SLING-2043.
-------------------------------------

    Resolution: Fixed

Committed your patch with the changes to the test in revision 1143494

> Upon the installation of a fragment bundle, a refreshPackages call should be made on the host bundle
> ----------------------------------------------------------------------------------------------------
>
>                 Key: SLING-2043
>                 URL: https://issues.apache.org/jira/browse/SLING-2043
>             Project: Sling
>          Issue Type: Improvement
>          Components: Installer
>            Reporter: Justin Edelson
>            Assignee: Carsten Ziegeler
>             Fix For: Installer Core 3.2.0
>
>         Attachments: SLING-2043.patch
>
>
> Fragment bundles don't get started, but for them to become attached to the host, refreshPackages() must be called on the host bundle (assuming that the host bundle has been started).

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