[GODRIVER-1696] CRUD update/replace bugs Created: 17/Jul/20  Updated: 28/Oct/23  Resolved: 29/Jul/20

Status: Closed
Project: Go Driver
Component/s: None
Affects Version/s: None
Fix Version/s: 1.4.0

Type: Bug Priority: Major - P3
Reporter: Divjot Arora (Inactive) Assignee: Divjot Arora (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to GODRIVER-761 Resync CRUD spec tests to use transac... Closed

 Description   

When resyncing CRUD spec tests for GODRIVER-761, I came across a few bugs related to update/replace:

  1. bulkWrite doesn't perform validation to ensure replacement documents don't have $-prefixed keys
  2. UpdateOperation doesn't error if the ArrayFilters option is specified for server versions below 3.6.


 Comments   
Comment by Githook User [ 29/Jul/20 ]

Author:

{'name': 'Divjot Arora', 'email': 'divjot.arora@10gen.com', 'username': 'divjotarora'}

Message: Resync CRUD tests to use transactions test format (#459)

GODRIVER-761
GODRIVER-1696
Branch: release/1.4
https://github.com/mongodb/mongo-go-driver/commit/ff5ea942cafe8215cce8546974c38f0de939e1a2

Comment by Githook User [ 29/Jul/20 ]

Author:

{'name': 'Divjot Arora', 'email': 'divjot.arora@10gen.com', 'username': 'divjotarora'}

Message: Resync CRUD tests to use transactions test format (#459)

GODRIVER-761
GODRIVER-1696
Branch: master
https://github.com/mongodb/mongo-go-driver/commit/037df13ae7d40d18866c7da1940ce2967f699738

Comment by Divjot Arora (Inactive) [ 20/Jul/20 ]

This is being done in the same PR as GODRIVER-761: https://github.com/mongodb/mongo-go-driver/pull/459

Generated at Thu Feb 08 08:36:56 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.