[SERVER-3158] Inserting (as update with upset) DBRef in _id. Created: 27/May/11 Updated: 07/Mar/14 Resolved: 27/May/11 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Write Ops |
| Affects Version/s: | 1.8.0-rc2, 1.9.0 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Matew | Assignee: | Unassigned |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | dbref, insert, update | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Linux 2.6.38-9-generic #43-Ubuntu x86_64 GNU/Linux, |
||
| Issue Links: |
|
||||||||
| Operating System: | Linux | ||||||||
| Participants: | |||||||||
| Description |
|
db.sessions.update({"_id": {$ref: "users", $id: "matew12"}}, {$push:{"sessions":ObjectId()}}, true); I try insert (as update) DBRef into _id, but it insert new ObjectId. |
| Comments |
| Comment by Scott Hernandez (Inactive) [ 27/May/11 ] |
|
Most likely the same issue |