Uploaded image for project: 'PHP Driver: Extension'
  1. PHP Driver: Extension
  2. PHPC-523

Parse readconcernlevel in URI options array

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

      According to mongoc_uri_parse_option() in mongoc-uri.c, "readconcernlevel" is only handled when processing the URI's query string. This means that PHPC may not be properly assigning the value when picking it up from Manager's $options array argument (instead of the URI string).

      This should be trivial to test, given that we now have a Manager::getReadConcern() method.

            Assignee:
            jmikola@mongodb.com Jeremy Mikola
            Reporter:
            jmikola@mongodb.com Jeremy Mikola
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: