Improve error message when sorting parallel arrays

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Trivial - P5
    • 3.7.3
    • Affects Version/s: None
    • Component/s: Querying
    • Fully Compatible
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The current error message states:

      2018-01-22T13:38:07.220-0500 E QUERY    [thread1] Error: command failed: {
      	"ok" : 0,
      	"errmsg" : "cannot sort with keys that are parallel arrays",
      	"code" : 2,
      	"codeName" : "BadValue"
      } : aggregate failed :
      

      I would suggest removing the term parallel array for something more user-friendly, like "cannot sort on multiple fields containing arrays"

              Assignee:
              Charlie Swanson
              Reporter:
              Kelsey Schubert
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: