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

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

    • 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

      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:
            benjamin.becker Ben Becker
            Reporter:
            benjamin.becker Ben Becker
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: