[JAVA-3432] ClassCastException in FindAndUpdateOperation Created: 12/Sep/19 Updated: 28/Oct/23 Resolved: 12/Sep/19 |
|
| Status: | Closed |
| Project: | Java Driver |
| Component/s: | Write Operations |
| Affects Version/s: | 3.11.0 |
| Fix Version/s: | 3.11.1 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Christoph Strobl | Assignee: | Jeffrey Yemin |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
toBsonValueList casts Bson objects to BsonValue which errors when the actual value is eg. a Document.
|
| Comments |
| Comment by Githook User [ 12/Sep/19 ] |
|
Author: {'username': 'jyemin', 'email': 'jeff.yemin@10gen.com', 'name': 'Jeff Yemin'}Message: Accept any implementation of Bson interface for findAndUpdate pipeline
|
| Comment by Githook User [ 12/Sep/19 ] |
|
Author: {'username': 'jyemin', 'email': 'jeff.yemin@10gen.com', 'name': 'Jeff Yemin'}Message: Accept any implementation of Bson interface for findAndUpdate pipeline
|