Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-49387

Poorly worded parsing error messages for match expressions

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor - P4
    • Resolution: Unresolved
    • Affects Version/s: 4.4.0-rc11
    • Fix Version/s: Backlog
    • Component/s: None
    • Labels:

      Description

      $and with argument that is not an array:

             $and must be an array (2) 
      

      Suggest "$and argument must be an array" instead.

      $not with an empty hash argument:

             $not cannot be empty (2)
      

      Suggest "$not argument cannot be an empty document" instead.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              backlog-query-optimization Backlog - Query Optimization
              Reporter:
              oleg.pudeyev Oleg Pudeyev
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated: