Produce error on duplicate keys at the same level

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Duplicate
    • Priority: Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: None
    • None

      With this input file and mongoimport:

      { "_id" : 1, "_id" : "a" }
      { "_id" : 2, "_id" : "b" }
      { "_id" : 3, "_id" : "c" }
      { "_id" : 4, "_id" : "d" }
      

      Produces this in the database:

      ongoexport -d test -c dups
      connected to: 127.0.0.1
      { "_id" : 1, "_id" : "a" }
      { "_id" : 2, "_id" : "b" }
      { "_id" : 3, "_id" : "c" }
      { "_id" : 4, "_id" : "d" }
      

      Parser should probably catch this, or maybe a unique key contraint on the bson object.

            Assignee:
            Gabriel Russell (Inactive)
            Reporter:
            Ian Whalen (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: