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

Viewing a code_w_s object in the shell produces malformed output

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 3.5.4
    • Shell
    • None
    • Fully Compatible
    • ALL
    • Platforms 2017-03-06

    Description

      Viewing a code_w_s object in the shell produces output like the following:

      { "_id" : ObjectId("589b894d5233185cfb49d642"), "document" : { "code" : "\u0011\u0000\u0000\u0000print('Hi!' + x)\u0000\f\u0000\u0000\u0000\u0010x\u0000\u0005\u0000\u0000\u0000\u0000\u0000\u00031", "scope" : { "x" : 5 } } }
      

      Attachments

        Issue Links

          Activity

            People

              spencer.jackson@mongodb.com Spencer Jackson
              spencer.jackson@mongodb.com Spencer Jackson
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: