GitHub user benru opened a pull request:

    https://github.com/apache/couchdb/pull/104

    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.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/benru/couchdb 
1930-fix-futon-save-document-with-_id

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/couchdb/pull/104.patch

----
commit 4906b591bb7f1955fc55b68696841b189a7fbfc2
Author: Ben Russell <[email protected]>
Date:   2013-11-13T23:05:10Z

    COUCHDB-1930 - fix - Futon, create New Document and change _id, clicking 
Save Document will save but sends you to wrong doc

----

Reply via email to