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

Pasting formatted documents into the shell doesn't work

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • 2.1.1
    • Affects Version/s: 2.1.0
    • Component/s: Shell
    • Labels:
      None
    • Environment:
      tested on OSX, 64bit
    • Major Change
    • ALL

      I used to be able to paste the output of findOne() directly into the shell because the interpreter stripped tabs from the beginning of the line.

      For example:

      > db.inventory.findOne()
      {
      "_id" : ObjectId("4ea894ab134e11f9f91d4909"),
      "_accountId" : "user1"
      }

            Assignee:
            tad Tad Marshall
            Reporter:
            dan@mongodb.com Daniel Pasette (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: