Closed cartermak closed 1 month ago
Yes - I've already checked
No - This is a new bug
2.11.0
Symbol arguments in SeqJSON are expressed as the unquoted symbol name in SeqN. Currently, when uploading a SeqJSON with symbol arguments, the generated SeqN has the symbol names quoted, which is wrong and generates an incorrect SeqJSON.
Given a SeqJSON command:
{ "type": "command", "stem": "MY_COMMAND_STEM", "time": { "type": "COMMAND_COMPLETE" }, "args": [ { "type": "symbol", "value": "L00INT" }, { "type": "symbol", "value": "L01INT" } ] }
The generated SeqN should be:
C MY_COMMAND_STEM L00INT L01INT
...but instead, it's currently:
C MY_COMMAND_STEM "L00INT" "L01INT"
...which is then written out as this incorrect SeqJSON:
{ "args": [ { "type": "string", "value": "L00INT", "name": "arg_one" }, { "type": "string", "value": "L01INT", "name": "arg_two" } ], "stem": "MY_COMMAND_STEM", "time": { "type": "COMMAND_COMPLETE" }, "type": "command" }
No response
Aerie 2.11.0 run locally; Firefox on MacOS
Major
Checked for duplicates
Yes - I've already checked
Is this a regression?
No - This is a new bug
Version
2.11.0
Describe the bug
Symbol arguments in SeqJSON are expressed as the unquoted symbol name in SeqN. Currently, when uploading a SeqJSON with symbol arguments, the generated SeqN has the symbol names quoted, which is wrong and generates an incorrect SeqJSON.
Reproduction
Given a SeqJSON command:
The generated SeqN should be:
...but instead, it's currently:
...which is then written out as this incorrect SeqJSON:
Logs
No response
System Info
Severity
Major