Karaf
  1. Karaf
  2. KARAF-1340

The error info is not readable when cluster:feature-uninstall has incorrect argument.

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Trivial Trivial
    • Resolution: Not a Problem
    • Affects Version/s: cellar-2.2.3
    • Fix Version/s: cellar-3.0.0, cellar-2.2.4
    • Component/s: cellar-core
    • Labels:
      None

      Description

      Please see the below command and error info.

      karaf@trun> feature-uninstall tesb-zookeeper
      Error executing command cluster:features-uninstall: argument feature is required

      The Syntax of the command is: cluster:features-uninstall [options] group feature [version]

      so this error info should be: Error executing command cluster:feature-uninstall: argument group is required

        Activity

        Meifang Shen created issue -
        Meifang Shen made changes -
        Field Original Value New Value
        Priority Major [ 3 ] Trivial [ 5 ]
        Jean-Baptiste Onofré made changes -
        Assignee Jean-Baptiste Onofré [ jbonofre ]
        Meifang Shen made changes -
        Affects Version/s 2.2.4 [ 12317342 ]
        Component/s cellar-core [ 12314337 ]
        Jean-Baptiste Onofré made changes -
        Fix Version/s cellar-3.0.0 [ 12316442 ]
        Fix Version/s cellar-2.2.4 [ 12319520 ]
        Affects Version/s cellar-2.2.3 [ 12317140 ]
        Affects Version/s 2.2.4 [ 12317342 ]
        Jean-Baptiste Onofré made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        Hide
        Jean-Baptiste Onofré added a comment -

        It's "normal". The first argument (index = 0) is the group. So if you type features-uninstall foobar, foobar is considered as the group (even if you provide a feature name), that's why Karaf says that the feature is missing.

        Show
        Jean-Baptiste Onofré added a comment - It's "normal". The first argument (index = 0) is the group. So if you type features-uninstall foobar, foobar is considered as the group (even if you provide a feature name), that's why Karaf says that the feature is missing.
        Jean-Baptiste Onofré made changes -
        Status In Progress [ 3 ] Resolved [ 5 ]
        Resolution Not A Problem [ 8 ]

          People

          • Assignee:
            Jean-Baptiste Onofré
            Reporter:
            Meifang Shen
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development