mongoimport not creating object for valid JSON file input

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • 1.5.3
    • Affects Version/s: 1.4.1, 1.5.1
    • Component/s: Tools
    • None
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • 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 Stearn
            Reporter:
            Fitz Agard
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: