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

mongoimport not creating object for valid JSON file input

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 1.5.3
    • Affects Version/s: 1.4.1, 1.5.1
    • Component/s: Tools
    • Labels:
      None

      mongoimport --verbose -d test -c ctest --file ~/input.json

      connected to: 127.0.0.1
      Tue May 25 11:30:00 ns: test.ctest
      Tue May 25 11:30:00 filesize: 46
      Tue May 25 11:30:00 got line:

      { "firstname" : "fitz", "lastname" : "agard" }

      imported 0 objects

      I only tested this on 1.5.1 and 1.4.1

            Assignee:
            mathias@mongodb.com Mathias Stearn
            Reporter:
            fitzagard Fitz Agard
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: