mongoc_collection_find_with_opts() conflict with projection operators

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • 1.5.0
    • Affects Version/s: 1.5.0
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      _mongoc_cursor_new_with_opts() validates options with (BSON_VALIDATE_DOLLAR_KEYS | BSON_VALIDATE_EMPTY_KEYS) (see: here), which presents a problem for the $slice projection operator (and possibly others).

      This appears to be an issue in 1.5.0-rc1 at least, although that's not available as an "affects version" in JIRA.

            Assignee:
            A. Jesse Jiryu Davis
            Reporter:
            Jeremy Mikola
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: