Petals ESB CLI

Petals CLI console exits when trying to autocomplete command requiring connection

Details

  • Type: Bug Bug
  • Status: New New
  • Priority: Minor Minor
  • Resolution: Unresolved
  • Affects Version/s: 3.0.0 - Petals CLI, 3.1.1 - Petals CLI
  • Fix Version/s: None
  • Component/s: Command 'undeploy'
  • Security Level: Public
  • Description:
    Hide

    When start petals-cli in console mode without connexion
    And I type the command 'undeploy -a '
    And I press key <TAB>

    Then the console exits with an error :

    $ ./petals-cli.sh -C
    petals-cli>undeploy -a ERROR: No current connection to a remote Petals ESB
    
    
    $

    The console should not exit
    And there should be a warning about a required connection

    Show
    When start petals-cli in console mode without connexion And I type the command 'undeploy -a ' And I press key <TAB> Then the console exits with an error :
    $ ./petals-cli.sh -C
    petals-cli>undeploy -a ERROR: No current connection to a remote Petals ESB
    
    
    $
    The console should not exit And there should be a warning about a required connection
  • Environment:
    Petals ESB Command Line Interface 3.0.0
    OpenJDK Runtime Environment 1.8.0_191-8u191-b12-2ubuntu0.18.04.1-b12 Oracle Corporation
    Linux 4.15.0-46-generic amd64

People

Dates

  • Created:
    Mon, 11 Mar 2019 - 11:55:57 +0100
    Updated:
    Mon, 11 Mar 2019 - 15:19:00 +0100