Uploaded image for project: 'Karaf'
  1. Karaf
  2. KARAF-2452

The "--force" option is not honored when designate bundle as a system bundle

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.3.2
    • 2.3.3, 2.4.0, 3.0.0
    • None
    • None

    Description

      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,

      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>
      

      Notice also that "yes" is printed out one character per line I'll fix that as well.

      Attachments

        1. KARAF-2452-trunk.patch
          3 kB
          Jonathan Anstey
        2. KARAF-2452-karaf-2.x.patch
          2 kB
          Jonathan Anstey

        Activity

          People

            ffang Freeman Yue Fang
            janstey Jonathan Anstey
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: