Uploaded image for project: 'Mongoid'
  1. Mongoid
  2. MONGOID-2096

error with array of ids with duplicate ids

    • Type: Icon: Task Task
    • Resolution: Done
    • 3.0.0
    • Affects Version/s: None
    • Component/s: None

      If provided with an array of ids with duplicate ids:

      • Book.find(["both_have_same_id","both_have_same_id"])

      Mongoid 3.0 gives the following error:
      Document(s) not found for class Space with id(s) .

      Even if a document with that id already exists.

            Assignee:
            Unassigned Unassigned
            Reporter:
            digitalplaywright digitalplaywright
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: