Uploaded image for project: 'AriaTosca'
  1. AriaTosca
  2. ARIA-381

Misleading error message if invalid YAML provided as input file

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      For aria services create, if the inputs given are in the form of a YAML file, but the YAML is invalid (for example: alignment issues), the user has absolutely no way of knowing. The error they'll get is:

      Invalid input: me.yaml. It must represent a dictionary. Valid values can be one of:
       - A path to a YAML file
       - A path to a directory containing YAML files
       - A single quoted wildcard based path (e.g. '*-inputs.yaml')
       - A string formatted as JSON/YAML
       - A string formatted as key1=value1;key2=value2
      

      The reason is that we're hiding the internal error that causes parsing to fail.

      Attachments

        Activity

          People

            Unassigned Unassigned
            ran Ran Ziv
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: