[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:
Duplicate
duplicates SERVER-1470 Update w/upsert ignores dbref field f... Closed
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

Generated at Thu Feb 08 03:02:14 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.