Uploaded image for project: 'Satellite'
  1. Satellite
  2. SAT-14943

hammer does not give information about a label with bad format

XMLWordPrintable

    • Low
    • None

      Description of problem:

      hammer used (in 6.9) to complain about a label with bad format (spaces, for example) like this:

      1. hammer organization create --name "Test Organization" --label "Test Organization"
        Could not create the organization:
        Label is invalid
        Label cannot contain characters other than ascii alpha numerals, '_', '-'.

      in 6.10 and 6.11 the information given to the user is inexistent:

      1. hammer organization create --name "Test Organization" --label "Test Organization"
        Could not create the organization:
        resource have no errors

      Version-Release number of selected component (if applicable):

      6.10 and 6.11

      How reproducible:

      Always

      Steps to Reproduce:
      1. hammer organization create --name "Test Organization" --label "Test Organization"

      Actual results:

      Could not create the organization:
      resource have no errors

      Expected results:

      Could not create the organization:
      Label is invalid
      Label cannot contain characters other than ascii alpha numerals, '_', '-'.

      Additional info:

              aruzicka@redhat.com Adam Ruzicka
              aruzicka@redhat.com Adam Ruzicka
              Shweta Singh Shweta Singh
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: