[SERVER-718] in JS shell, duplicated fields should print correctly Created: 08/Mar/10 Updated: 05/Apr/17 Resolved: 03/Feb/17 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | JavaScript, Shell |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Mathias Stearn | Assignee: | DO NOT USE - Backlog - Platform Team |
| Resolution: | Won't Fix | Votes: | 1 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||||||||||||||
| Participants: | |||||||||||||||||||||||||||||
| Description |
|
currently it prints both but uses the same value. mongosniff: , o: { $set: { a: 3.0 }, $set: { z: 3.0 }} } JS Shell: , "op" : "u", "ns" : "test.c", "o2" : { "_id" : 0 }, "o" : { "$set" : { "a" : 3 }, "$set" : { "a" : 3 }} } |