Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Can't create a document with the _id field already set #64
When adding a new document to a collection, I am not able to have the _id field already filled in (I have ensured it is unique within the collection).
When attempting to do so, the following AJAX response is something like this:
And the modal window does not close.
In addition, when editing a document, if I attempt to change the value of _id, the _id change is reflected when hitting the 'Save' button - this should probably show an error instead. Of course, this save is not reflected when refreshing the page and looking at the document again.
I am running the current version of Genghis (2.1.6) on MAMP (PHP 5.3.6), using MongoDB v2.2.0, PHP driver v1.2.12.
Thanks for the great app!