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

Stitch library's upsert fails with "Cannot call setValue on the root object" when matcher predicate is empty

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.1.9
    • Affects Version/s: None
    • Component/s: Querying
    • None
    • Fully Compatible
    • ALL
    • Query 2019-02-11, Query 2019-02-25

      Adding a test here using {} for the matcher predicate (first argument) should be sufficient to reproduce this.

       

      https://github.com/mongodb/mongo/blob/master/src/mongo/embedded/stitch_support/stitch_support_test.cpp#L537-L540

            Assignee:
            jacob.evans@mongodb.com Jacob Evans
            Reporter:
            mikeo@mongodb.com Michael O'Brien
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: