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

Accepting an invalid default value for parameter type='YAML'

XMLWordPrintable

    • 3
    • False
    • Hide

      None

      Show
      None
    • False
    • 0
    • Rocket
    • Low
    • Automated
    • Yes

      Description of problem:

      After receiving an invalid value for Parameter Type='yaml', it still accepts the value.

      How reproducible:

      Always

      Is this issue a regression from an earlier version:

      No

      Steps to Reproduce:

      1. Configure -> Ansible -> Variables -> New Ansible Variable

      2. Select a random key and choose the Ansible Role that needs to be imported.

      3. Select Override and Parameter Type - 'yaml' and Default Value - {a:test}

      4. Click on Submit

      Actual behavior:
      After adding an invalid value, such as a dictionary

      {a:test}

      , to the YAML, it still works.

      Expected behavior:
      After adding an invalid value to the YAML file, it should fail to work and throw an error indicating 'is invalid.'

      Affects Version/s: stream, 6.16.0 (el9) , it is working for 6.16.0 (el8)

              Unassigned Unassigned
              rh-ee-amolpati Amol Patil
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: