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

Silent duplicate key error

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

      Validation error: 'Mongoid::Errors::Validations: Validation failed - '

      Mongo error: Mon Nov 8 09:23:18 [conn38] insert blog_test.blobs exception 11000 E11000 duplicate key error index: blog_test.blobs.$id dup key: { : "ff2f8089face79fa9e04021d89bd763da7c5f166" } 0ms

      Expected: some how these errors from Mongo would bubble up through validation...even as a raw error string so they're easier to debug

            Assignee:
            Unassigned Unassigned
            Reporter:
            kevmoo Kevin Moore
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: