NASA-AMMOS / aerie-ui

The client application for Aerie.
https://nasa-ammos.github.io/aerie-docs/
MIT License
28 stars 5 forks source link

Sequence Editor error on repeat arguments #1130

Closed cartermak closed 5 months ago

cartermak commented 6 months ago

Checked for duplicates

Yes - I've already checked

Is this a regression?

Yes - This worked in a previous version

Version

v2.2.1

Describe the bug

The sequence editor generates a warning when writing commands with repeat args. The error message is the same whether using positional args or the object args format, although the error message is applied to all the arguments in the latter, whereas the positional args warning only applies to the repeat arg.

image

Reproduction

Author a command with the AMPCS repeat argument type.

Logs

No response

System Info

Aerie v2.2.1, Firefox on MacOS

Severity

Moderate

cartermak commented 6 months ago

Actually, I'm also getting this error passing literals to object-formatted arguments on non-repeat args.