[SERVER-67] $set a value to null makes a collection unusable until the database is restarted (invalid parameter: expected an object) Created: 22/May/09 Updated: 12/Jul/16 Resolved: 22/May/09 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Michael Dirolf | Assignee: | Aaron Staple |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
python driver or shell |
||
| Participants: |
| Description |
|
> db.foo.find() {"_id" : "f86b90079a8f8ae183fa4b9b" , "a" : 5}> db.foo.update( {"a": 5}, {"$set": {"b": null}}) |
| Comments |
| Comment by Aaron Staple [ 22/May/09 ] |
|
d8e129c8ab3844903cd19ae565ab32faf0aadd59 fixes, tested in updatetests.cpp |