[JAVA-3369] findOneAndUpdate does not handle an empty update document properly Created: 01/Aug/19 Updated: 28/Oct/23 Resolved: 21/Aug/19 |
|
| Status: | Closed |
| Project: | Java Driver |
| Component/s: | Write Operations |
| Affects Version/s: | None |
| Fix Version/s: | 4.0.0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | John Stewart (Inactive) | Assignee: | John Stewart (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||
| Backwards Compatibility: | Minor Change | ||||||||||||||||
| Description |
|
The CRUD specification requires that an update contains at least one |
| Comments |
| Comment by Githook User [ 15/Jan/20 ] |
|
Author: {'name': 'John Stewart', 'username': 'jstewart-mongo', 'email': 'john.stewart@mongodb.com'}Message: Update FieldNameValidator to detect empty update documents
|
| Comment by John Stewart (Inactive) [ 13/Aug/19 ] |
|
Updating the `FieldNameValidator` interface, as described inĀ JAVA-3137, would be the more elegant solution for this ticket. We will have to wait until 4.0 to resolve this. |