Petals ESB CLI

Invalid error message when the JMX port has an invalid value

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 2.3.1 - Petals CLI
  • Fix Version/s: 3.0.0 - Petals CLI
  • Component/s: Command 'connect'
  • Security Level: Public
  • Description:
    Hide

    If the JMX port has an invalid value, an invalid error message is returned:

    > petals-cli -h localhost -n invalid-value -u petals -p petals -
    ERROR: Argument value of option '-h' has an invalid value 'localhost'

    The option indicated in the error message is not the expected one. It should be '-n', and the invalid value: invalid-value !

    Show
    If the JMX port has an invalid value, an invalid error message is returned:
    > petals-cli -h localhost -n invalid-value -u petals -p petals -
    ERROR: Argument value of option '-h' has an invalid value 'localhost'
    The option indicated in the error message is not the expected one. It should be '-n', and the invalid value: invalid-value !
  • Environment:
    -

Activity

Christophe DENEUX made changes - Mon, 6 Feb 2017 - 15:34:02 +0100
Field Original Value New Value
Status New [ 10000 ] Open [ 10002 ]
Priority Minor [ 4 ]
Christophe DENEUX made changes - Mon, 6 Feb 2017 - 15:34:05 +0100
Status Open [ 10002 ] In Progress [ 10003 ]
Christophe DENEUX made changes - Mon, 6 Feb 2017 - 15:46:57 +0100
Description If the JMX port has an invalid value, an invalid error message is returned:
{code}
> petals-cli -h localhost -n invalid-value -u petals -p petals -
ERROR: Argument value of option '-h' has an invalid value 'invalid-value'
{code}

The option indicated in the error message is not the expected one. It should be '{{-n}}' !
If the JMX port has an invalid value, an invalid error message is returned:
{code}
> petals-cli -h localhost -n invalid-value -u petals -p petals -
ERROR: Argument value of option '-h' has an invalid value 'localhost'
{code}

The option indicated in the error message is not the expected one. It should be '{{-n}}', and the invalid value: {{invalid-value}} !
Christophe DENEUX made changes - Mon, 6 Feb 2017 - 15:52:15 +0100
Status In Progress [ 10003 ] Resolved [ 10004 ]
Fix Version/s 3.0.0 - Petals CLI [ 10675 ]
Resolution Fixed [ 1 ]

People

Dates

  • Created:
    Mon, 6 Feb 2017 - 15:33:50 +0100
    Updated:
    Mon, 6 Feb 2017 - 15:52:15 +0100
    Resolved:
    Mon, 6 Feb 2017 - 15:52:15 +0100