You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Lars Heinemann (JIRA)" <ji...@apache.org> on 2009/02/11 11:11:59 UTC

[jira] Created: (SMX4KNL-183) features/uninstall behaves different in version selection than features/install

features/uninstall behaves different in version selection than features/install
-------------------------------------------------------------------------------

                 Key: SMX4KNL-183
                 URL: https://issues.apache.org/activemq/browse/SMX4KNL-183
             Project: ServiceMix Kernel
          Issue Type: Bug
    Affects Versions: 1.1.0
            Reporter: Lars Heinemann
             Fix For: 1.1.0


When using "features/install xxx" without a version info, than it takes the latest available version.
When using "features/uninstall xxx" without a version info, than it complains if the version isn't 0.0.0.



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (SMX4KNL-183) features/uninstall behaves different in version selection than features/install

Posted by "Chris Custine (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/SMX4KNL-183?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=49371#action_49371 ] 

Chris Custine commented on SMX4KNL-183:
---------------------------------------

I noticed the same uninstall issue (not removing dependency features).  It seems like we will have to do a considerable amount of dependency tracking to get this to work properly and there are some really difficult conflict resolution issues to consider.  I think there is definitely some room to improve the features functionality but I am thinking this should probably be pushed to a later release.

> features/uninstall behaves different in version selection than features/install
> -------------------------------------------------------------------------------
>
>                 Key: SMX4KNL-183
>                 URL: https://issues.apache.org/activemq/browse/SMX4KNL-183
>             Project: ServiceMix Kernel
>          Issue Type: Bug
>    Affects Versions: 1.1.0
>            Reporter: Lars Heinemann
>             Fix For: 1.1.0
>
>
> When using "features/install xxx" without a version info, than it takes the latest available version.
> When using "features/uninstall xxx" without a version info, than it complains if the version isn't 0.0.0.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (SMX4KNL-183) features/uninstall behaves different in version selection than features/install

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

Guillaume Nodet commented on SMX4KNL-183:
-----------------------------------------

Raised a different issue for automaticaly selecting the right version when uninstalling.

> features/uninstall behaves different in version selection than features/install
> -------------------------------------------------------------------------------
>
>                 Key: SMX4KNL-183
>                 URL: https://issues.apache.org/activemq/browse/SMX4KNL-183
>             Project: ServiceMix Kernel
>          Issue Type: Bug
>    Affects Versions: 1.1.0
>            Reporter: Lars Heinemann
>             Fix For: 1.1.0
>
>
> When using "features/install xxx" without a version info, than it takes the latest available version.
> When using "features/uninstall xxx" without a version info, than it complains if the version isn't 0.0.0.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (SMX4KNL-183) features/uninstall behaves different in version selection than features/install

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

Guillaume Nodet commented on SMX4KNL-183:
-----------------------------------------

Yeah, I fully agree.  Let's move that one for 1.2.0 and get 1.1.0 out asap.

> features/uninstall behaves different in version selection than features/install
> -------------------------------------------------------------------------------
>
>                 Key: SMX4KNL-183
>                 URL: https://issues.apache.org/activemq/browse/SMX4KNL-183
>             Project: ServiceMix Kernel
>          Issue Type: Bug
>    Affects Versions: 1.1.0
>            Reporter: Lars Heinemann
>             Fix For: 1.1.0
>
>
> When using "features/install xxx" without a version info, than it takes the latest available version.
> When using "features/uninstall xxx" without a version info, than it complains if the version isn't 0.0.0.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (SMX4KNL-183) features/uninstall behaves different in version selection than features/install

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

Guillaume Nodet commented on SMX4KNL-183:
-----------------------------------------

The "features/uninstall xxx" should automatically select the version of the installed features, else throw an error.

> features/uninstall behaves different in version selection than features/install
> -------------------------------------------------------------------------------
>
>                 Key: SMX4KNL-183
>                 URL: https://issues.apache.org/activemq/browse/SMX4KNL-183
>             Project: ServiceMix Kernel
>          Issue Type: Bug
>    Affects Versions: 1.1.0
>            Reporter: Lars Heinemann
>             Fix For: 1.1.0
>
>
> When using "features/install xxx" without a version info, than it takes the latest available version.
> When using "features/uninstall xxx" without a version info, than it complains if the version isn't 0.0.0.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (SMX4KNL-183) features/uninstall behaves different in version selection than features/install

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

Guillaume Nodet commented on SMX4KNL-183:
-----------------------------------------

For the uninstall stuff, I'm not sure.  Currently we do not keep track of features installed as dependencies.  i guess we'd have to.
If a feature is installed as a dependency, it should be removed if no longer used because the feature having a dependency on it has been uninstalled.

> features/uninstall behaves different in version selection than features/install
> -------------------------------------------------------------------------------
>
>                 Key: SMX4KNL-183
>                 URL: https://issues.apache.org/activemq/browse/SMX4KNL-183
>             Project: ServiceMix Kernel
>          Issue Type: Bug
>    Affects Versions: 1.1.0
>            Reporter: Lars Heinemann
>             Fix For: 1.1.0
>
>
> When using "features/install xxx" without a version info, than it takes the latest available version.
> When using "features/uninstall xxx" without a version info, than it complains if the version isn't 0.0.0.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (SMX4KNL-183) features/uninstall behaves different in version selection than features/install

Posted by "Lars Heinemann (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SMX4KNL-183?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lars Heinemann updated SMX4KNL-183:
-----------------------------------

    Fix Version/s:     (was: 1.1.0)
                   1.2.0

moved to version 1.2.0

> features/uninstall behaves different in version selection than features/install
> -------------------------------------------------------------------------------
>
>                 Key: SMX4KNL-183
>                 URL: https://issues.apache.org/activemq/browse/SMX4KNL-183
>             Project: ServiceMix Kernel
>          Issue Type: Bug
>    Affects Versions: 1.1.0
>            Reporter: Lars Heinemann
>             Fix For: 1.2.0
>
>
> When using "features/install xxx" without a version info, than it takes the latest available version.
> When using "features/uninstall xxx" without a version info, than it complains if the version isn't 0.0.0.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Issue Comment Edited: (SMX4KNL-183) features/uninstall behaves different in version selection than features/install

Posted by "Lars Heinemann (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/SMX4KNL-183?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=49331#action_49331 ] 

lhein edited comment on SMX4KNL-183 at 2/11/09 2:19 AM:
-----------------------------------------------------------------

Uninstalling a feature which contains other features which contain bundles will end up in having the most top feature in state uninstalled but the sub-features and components are no touched.

For example:

{noformat}
Feature MyFeature
  | --- MySubFeature1
  |         | --- Bundle A
  |         | --- Bundle B
  | --- MySubFeature2
  |         | --- Bundle C
  |         | --- Bundle D
{noformat}

When uninstalling the feature "MyFeature" the result is this:

{noformat}
[uninstalled]     MyFeature
[ installed ]     MySubFeature1
[ installed ]     MySubFeature2
{noformat}

This is imho not the correct behaviour.

      was (Author: lhein):
    Uninstalling a feature which contains other features which contain bundles will end up in having the most top feature in state uninstalled but the sub-features and components are no touched.
  
> features/uninstall behaves different in version selection than features/install
> -------------------------------------------------------------------------------
>
>                 Key: SMX4KNL-183
>                 URL: https://issues.apache.org/activemq/browse/SMX4KNL-183
>             Project: ServiceMix Kernel
>          Issue Type: Bug
>    Affects Versions: 1.1.0
>            Reporter: Lars Heinemann
>             Fix For: 1.1.0
>
>
> When using "features/install xxx" without a version info, than it takes the latest available version.
> When using "features/uninstall xxx" without a version info, than it complains if the version isn't 0.0.0.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (SMX4KNL-183) features/uninstall behaves different in version selection than features/install

Posted by "Lars Heinemann (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/SMX4KNL-183?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=49331#action_49331 ] 

Lars Heinemann commented on SMX4KNL-183:
----------------------------------------

Uninstalling a feature which contains other features which contain bundles will end up in having the most top feature in state uninstalled but the sub-features and components are no touched.

> features/uninstall behaves different in version selection than features/install
> -------------------------------------------------------------------------------
>
>                 Key: SMX4KNL-183
>                 URL: https://issues.apache.org/activemq/browse/SMX4KNL-183
>             Project: ServiceMix Kernel
>          Issue Type: Bug
>    Affects Versions: 1.1.0
>            Reporter: Lars Heinemann
>             Fix For: 1.1.0
>
>
> When using "features/install xxx" without a version info, than it takes the latest available version.
> When using "features/uninstall xxx" without a version info, than it complains if the version isn't 0.0.0.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.