You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by "Robert Newson (JIRA)" <ji...@apache.org> on 2012/05/26 21:39:23 UTC

[jira] [Resolved] (COUCHDB-1483) Update handlers allow documents with empty ids to be created

     [ https://issues.apache.org/jira/browse/COUCHDB-1483?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Newson resolved COUCHDB-1483.
------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.3
    
> Update handlers allow documents with empty ids to be created
> ------------------------------------------------------------
>
>                 Key: COUCHDB-1483
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-1483
>             Project: CouchDB
>          Issue Type: Bug
>          Components: Database Core
>    Affects Versions: 1.2, 1.3
>         Environment: I've tested this on multiple versions including 1.2.0 on linux and a build from git master.
>            Reporter: Brian Mitchell
>            Assignee: Robert Newson
>            Priority: Blocker
>             Fix For: 1.3
>
>
> If an update document returns a document without an _id field it will create or attempt to update a document with an id of "".
> To reproduce simply invoke an update handler which does a "return [{}, 'oops']".

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira