Uploaded image for project: 'PHP Driver: Library'
  1. PHP Driver: Library
  2. PHPLIB-638

Ensure writeConcernError is reported for findAndModify

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 1.15.0
    • Affects Version/s: 1.8.0
    • Component/s: None

      The FindAndModify operation does not inspect the command result for a writeConcernError field, in contrast to what is done in libmongoc.

      It's possible that this check still happens via libmongoc's RW command runner and _mongoc_cmd_check_ok_no_wce, but we should confirm that is the case.

            Assignee:
            levon.babayan@mongodb.com Levon Babayan (Inactive)
            Reporter:
            jmikola@mongodb.com Jeremy Mikola
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: