Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-718

in JS shell, duplicated fields should print correctly

    • Type: Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: JavaScript, Shell
    • None
    • Fully Compatible

      currently it prints both but uses the same value.

      mongosniff:
      { ts: Timestamp 1268080468000|1, op: "u", ns: "test.c", o2:

      { _id: 0.0 }

      , o: { $set:

      { a: 3.0 }

      , $set:

      { z: 3.0 }

      } }

      JS Shell:
      {"ts" :

      { "t" : 1268080468000, "i" : 1 }

      , "op" : "u", "ns" : "test.c", "o2" :

      { "_id" : 0 }

      , "o" : { "$set" :

      { "a" : 3 }

      , "$set" :

      { "a" : 3 }

      } }

            Assignee:
            backlog-server-platform DO NOT USE - Backlog - Platform Team
            Reporter:
            mathias@mongodb.com Mathias Stearn
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: