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

Activity

Alexandre LAGANE made changes - Mon, 11 Mar 2019 - 14:50:24 +0100
Field Original Value New Value
Priority Blocker [ 1 ]
Description When start petals-cli in console mode without connexion
And I type the commande `undeploy -a `
And I press tab key

Then the console exits

The console should not exit
And there should be a warning about a required connection
When start petals-cli in console mode without connexion
And I type the commande `undeploy -a `
And I press tab key

Then the console exits with an error :
ERROR: No current connection to a remote Petals ESB

The console should not exit
And there should be a warning about a required connection
Christophe DENEUX made changes - Mon, 11 Mar 2019 - 15:13:24 +0100
Summary cli console exits when trying to autocomplete command requiring connection Petals CLI console exits when trying to autocomplete command requiring connection
Description When start petals-cli in console mode without connexion
And I type the commande `undeploy -a `
And I press tab key

Then the console exits with an error :
ERROR: No current connection to a remote Petals ESB

The console should not exit
And there should be a warning about a required connection
When start petals-cli in console mode without connexion
And I type the commande `{{undeploy -a }}`
And I press key {{<TAB>}}

Then the console exits with an error :
{code}
$ ./petals-cli.sh -C
petals-cli>undeploy -a ERROR: No current connection to a remote Petals ESB


$
{code}

The console should not exit
And there should be a warning about a required connection
Christophe DENEUX made changes - Mon, 11 Mar 2019 - 15:14:53 +0100
Description When start petals-cli in console mode without connexion
And I type the commande `{{undeploy -a }}`
And I press key {{<TAB>}}

Then the console exits with an error :
{code}
$ ./petals-cli.sh -C
petals-cli>undeploy -a ERROR: No current connection to a remote Petals ESB


$
{code}

The console should not exit
And there should be a warning about a required connection
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 :
{code}
$ ./petals-cli.sh -C
petals-cli>undeploy -a ERROR: No current connection to a remote Petals ESB


$
{code}

The console should not exit
And there should be a warning about a required connection
Christophe DENEUX made changes - Mon, 11 Mar 2019 - 15:15:28 +0100
Description 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 :
{code}
$ ./petals-cli.sh -C
petals-cli>undeploy -a ERROR: No current connection to a remote Petals ESB


$
{code}

The console should not exit
And there should be a warning about a required connection
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 :
{code}
$ ./petals-cli.sh -C
petals-cli>undeploy -a ERROR: No current connection to a remote Petals ESB


$
{code}

The console should not exit
And there should be a warning about a required connection
Alexandre LAGANE made changes - Mon, 11 Mar 2019 - 15:19:00 +0100
Affects Version/s 3.1.1 - Petals CLI [ 10905 ]
Priority Blocker [ 1 ] Minor [ 4 ]

People

Dates

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