Field names can be repeated in JavaScript when the same value is set multiple times

XMLWordPrintableJSON

    • ALL
    • Hide

      Run attached 'mr_jsonly_test.js' script, then mongodump -d test -c jwc_test

      Show
      Run attached 'mr_jsonly_test.js' script, then mongodump -d test -c jwc_test
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      In SERVER-8624, we switched to a mutable argument flag for invoke(). The goal was to make it possible to utilize the function argument directly instead of having to perform a deep copy.

      When manipulating one of these arguments, some properties added to the argument appear in the result set with duplicate field names (when running with jsMode:false).

      http://groups.google.com/group/mongodb-user/browse_thread/thread/8dc58c951e26a085

              Assignee:
              Ben Becker (Inactive)
              Reporter:
              Ben Becker (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: