You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Freeman Fang (JIRA)" <ji...@apache.org> on 2013/08/21 04:30:52 UTC

[jira] [Resolved] (KARAF-2452) The "--force" option is not honored when designate bundle as a system bundle

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

Freeman Fang resolved KARAF-2452.
---------------------------------

       Resolution: Fixed
    Fix Version/s: 3.0.0
                   2.4.0
                   2.3.3

apply patch on behalf of Jonathan Anstey with thanks
http://svn.apache.org/r1516060 for 2.3.x branch
http://svn.apache.org/r1516061 for 2.x branch
http://svn.apache.org/r1516062 for trunk
                
> The "--force" option is not honored when designate bundle as a system bundle
> ----------------------------------------------------------------------------
>
>                 Key: KARAF-2452
>                 URL: https://issues.apache.org/jira/browse/KARAF-2452
>             Project: Karaf
>          Issue Type: Bug
>    Affects Versions: 2.3.2
>            Reporter: Jonathan Anstey
>            Assignee: Freeman Fang
>             Fix For: 2.3.3, 2.4.0, 3.0.0
>
>         Attachments: KARAF-2452-karaf-2.x.patch, KARAF-2452-trunk.patch
>
>
> When setting a bundle level to 50 or below, the system issues a confirmation message:
> You are about to designate bundle as a system bundle. Do you wish to continue (yes/no):
> Using the "--force" option does not bypass the confirmation message. For example,
> {code}
> root> osgi:bundle-level 53 100
> You are about to access system bundle 53.  Do you wish to continue (yes/no): 
> yes
> karaf@root> osgi:bundle-level 53
> Level 100
> karaf@root> osgi:bundle-level --force 53 40
> You are about to designate bundle as a system bundle.  Do you wish to continue (yes/no): 
> y
> e
> s
> karaf@root>
> {code}
> Notice also that "yes" is printed out one character per line :) I'll fix that as well.

--
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