-
Type: Bug
-
Resolution: Done
-
Priority: Major - P3
-
None
-
Affects Version/s: 2.6.3
-
Component/s: Shell
-
Labels:None
-
Major Change
-
ALL
-
Doing an update using runCommand returns an error unless the first field in the command object is the command itself. update:<collection>
Is this by design?
Objects and JSON are intrinsically unordered so expecting fields in the command object to be in a specific order seems incongruous.
This is a blocking issue for sending commands over the wire as you cannot guarantee JSON field ordering. The only place you can garantee this is if you manually enter the commands in the shell.