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

mongoimport not creating object for valid JSON file input

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: 1.4.1, 1.5.1
    • Fix Version/s: 1.5.3
    • Component/s: Tools
    • Labels:
      None

      Description

      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

        Attachments

          Activity

            People

            Assignee:
            redbeard0531 Mathias Stearn
            Reporter:
            fitzagard Fitz Agard
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: