listCollections silently ignores invalid filter format

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Duplicate
    • Priority: Minor - P4
    • None
    • Affects Version/s: 2.7.8
    • Component/s: Usability
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      To aid in usability, it should return an error.

      Example:

      db.runCommand({ listCollections: 1, filter: 'invalid' });
      

              Assignee:
              Unassigned
              Reporter:
              Randolph Tan
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: