apache/couchdb — pull request #104 by benru (2013-11-13 23:12:19+00:00)
Title: COUCHDB-1930 - fix - Futon, create New Document and change _id, clicking Save Document will save but sends you to wrong doc

After saving a document using Futon, it will reload the page to show the changes. However rather than using the page's docId, it should use the id in the response as the user may have change the document's _id.

This is most obvious when you are creating a new document but want to specify an _id instead of using the generated one. After saving Futon would try to load the generated id, which doesn't exist and raises a "missing" error.