Aria automation is converting string to Boolean while trying to edit a cloud template
search cancel

Aria automation is converting string to Boolean while trying to edit a cloud template

book

Article ID: 380588

calendar_today

Updated On:

Products

VMware Aria Suite

Issue/Introduction

The validation fails when editing a cloud template with error "value "true" is not in the list of valid values (true or false) for string type input"

When we have string type as seen below, aria automation converts yes/no to true/false (Boolean)

formatVersion: 1
inputs:
  String_In_1:
    type: string
    title: Input_1
    description: test
    default: YES
    oneOf:
      - title: Yes
        const: YES
      - title: No
        const: NO
resources: {}

Environment

Aria Automation 8.16.2
Aria Automation 8.17.0

Cause

Starting Aria Automation 8.16.2. The replacement of the 'js-yaml' library with the 'yaml' library resulted in compatibility problems with the UI YAML configuration

Resolution

This is a known issue, and the solution is to upgrade to Aria Automation version 8.18.x.