Skip to content

Bug: Array of type object not validating  #710

@jdmeyer3

Description

@jdmeyer3

If an action has the following for a parameter type in an action:

parameters:
  test_array_obj:
    type: array
    items:
      type: object
    description: "array of objects to evaluate"
    required: true
    position: 0

There is an issue with the UI where I cannot enter an array of objects into the parameter field.
image

I've tried many permutations on how to enter the array of objects, but the UI cannot evaluate it correctly.

Installed Versions

st2.x86_64 2.10.1-1 @StackStorm_stable
st2-auth-ldap.x86_64 2.10.4-1 @StackStorm_enterprise
st2chatops.x86_64 2.10.1-1 @StackStorm_stable
st2flow.x86_64 2.10.4-1 @StackStorm_enterprise
st2mistral.x86_64 2.10.1-1 @StackStorm_stable

Distro

CentOS 7

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions