Viewing a code_w_s object in the shell produces malformed output

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • 3.5.4
    • Affects Version/s: None
    • Component/s: Shell
    • None
    • Fully Compatible
    • ALL
    • Platforms 2017-03-06
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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 } } }
      

              Assignee:
              Spencer Jackson
              Reporter:
              Spencer Jackson
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: