[
https://issues.apache.org/jira/browse/COUCHDB-409?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jason Davies updated COUCHDB-409:
---------------------------------
Attachment: jquery.couch.saveDoc.diff
> $.couch.saveDoc() in jquery.couch.js sets doc._id and doc._rev to undefined
> on error, causing a new doc to be created if the same doc is modified and
> saved again
> -----------------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: COUCHDB-409
> URL: https://issues.apache.org/jira/browse/COUCHDB-409
> Project: CouchDB
> Issue Type: Bug
> Components: Administration Console
> Affects Versions: 0.9.1, 0.10
> Reporter: Jason Davies
> Fix For: 0.9.1
>
> Attachments: jquery.couch.saveDoc.diff
>
>
> Simple fix attached. Recommend that we include this in 0.9.1 as it's a
> non-obvious annoyance that occurs when saving docs in Futon.
> For example, if I try and save a doc and validation fails, and I fix the doc
> and save again, it will be saved with a NEW document id, since doc._id is set
> to undefined.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.