{"action":"created","issue":{"url":"https://api.github.com/repos/MongoEngine/mongoengine/issues/838","labels_url":"https://api.github.com/repos/MongoEngine/mongoengine/issues/838/labels{/name}","comments_url":"https://api.github.com/repos/MongoEngine/mongoengine/issues/838/comments","events_url":"https://api.github.com/repos/MongoEngine/mongoengine/issues/838/events","html_url":"https://github.com/MongoEngine/mongoengine/issues/838","id":52254290,"number":838,"title":"MongoEngine not checking/saving unique indexes upon save","user":{"login":"mattdharmon","id":3542342,"avatar_url":"https://avatars.githubusercontent.com/u/3542342?v=3","gravatar_id":"","url":"https://api.github.com/users/mattdharmon","html_url":"https://github.com/mattdharmon","followers_url":"https://api.github.com/users/mattdharmon/followers","following_url":"https://api.github.com/users/mattdharmon/following{/other_user}","gists_url":"https://api.github.com/users/mattdharmon/gists{/gist_id}","starred_url":"https://api.github.com/users/mattdharmon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattdharmon/subscriptions","organizations_url":"https://api.github.com/users/mattdharmon/orgs","repos_url":"https://api.github.com/users/mattdharmon/repos","events_url":"https://api.github.com/users/mattdharmon/events{/privacy}","received_events_url":"https://api.github.com/users/mattdharmon/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2014-12-17T15:41:18Z","updated_at":"2015-01-15T15:38:27Z","closed_at":null,"body":"I created a [StackOverflow](https://stackoverflow.com/questions/27404946/mongoengine-not-checking-saving-unique-indexes-upon-save) about this issue and I thought I would have a better time asking you guys where the problem could be. I don't if it's something I did wrong or is it a bug within the library itself."},"comment":{"url":"https://api.github.com/repos/MongoEngine/mongoengine/issues/comments/70104040","html_url":"https://github.com/MongoEngine/mongoengine/issues/838#issuecomment-70104040","issue_url":"https://api.github.com/repos/MongoEngine/mongoengine/issues/838","id":70104040,"user":{"login":"seglberg","id":799727,"avatar_url":"https://avatars.githubusercontent.com/u/799727?v=3","gravatar_id":"","url":"https://api.github.com/users/seglberg","html_url":"https://github.com/seglberg","followers_url":"https://api.github.com/users/seglberg/followers","following_url":"https://api.github.com/users/seglberg/following{/other_user}","gists_url":"https://api.github.com/users/seglberg/gists{/gist_id}","starred_url":"https://api.github.com/users/seglberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seglberg/subscriptions","organizations_url":"https://api.github.com/users/seglberg/orgs","repos_url":"https://api.github.com/users/seglberg/repos","events_url":"https://api.github.com/users/seglberg/events{/privacy}","received_events_url":"https://api.github.com/users/seglberg/received_events","type":"User","site_admin":false},"created_at":"2015-01-15T15:38:27Z","updated_at":"2015-01-15T15:38:27Z","body":"There was a recent issue where under certain circumstances MongoEngine would not ensure indices before saving (and thus they were never created in the database.) \r\n\r\nI had created a fix (MongoEngine/mongoengine#823) which was merged about a month or so ago."}}