-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: Queryable Encryption
-
None
-
Fully Compatible
-
v6.2, v6.1, v6.0
-
-
QO 2022-12-12, Security 2022-11-28
-
None
-
3
-
None
-
None
-
None
-
None
-
None
-
None
Suppose foo is a QE equality indexed field, bar is a unencrypted field, and testcoll is an encrypted collection containing a single document: {foo: "foovalue"}.
Running this command with upsert:
db.testcoll.updateOne( { $and: [{foo: "foovalue"}, {bar: "barvalue"}]}, { $set: { foo: "other_foovalue", bar: "other_barvalue" } }, { upsert: true } )
fails with the error message: Plan executor error during findAndModify :: caused by :: The field '_safeContent_' must be an array but is of type binData in document {no id}