Aria Automation 8.16.2/8.17 - 'Yes'/'No' strings being converted to Boolean true/false in Assembler -> Design -> Templates editor
book
Article ID: 370143
calendar_today
Updated On:
Products
VMware Aria Suite
Issue/Introduction
In Aria Automation 8.16.2/8.17, editing a deployment which contains string values of either 'Yes' or 'No' can result in the below validation error:
Invalid Template - Invalid Templates cannot be deployed. Correct the validation errors prior to deploying.
Example YAML code for an input using strings 'Yes'/'No':
inputs: Input_1: type: string title: Input_1 default: YES oneOf: - title: Yes const: YES - title: No const: NO
This code example will display the following validation error:
Failed to match exactly one schema (matched out of 2) One of: Expected constant value true but was "true" Expected constant value false but was "true"
Environment
Aria Automation 8.16.2
Aria Automation 8.17
Resolution
Issue resolved in Aria Automation 8.18.
Workaround:
Change strings in the Template YAML code from 'Yes'/'No' to use any other values (E.g. 'Y'/'N' or 'Yes.'/'No.') to avoid them being converted to Boolean values.