Return-Path: Delivered-To: apmail-incubator-couchdb-dev-archive@locus.apache.org Received: (qmail 84601 invoked from network); 14 Jun 2008 21:12:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 14 Jun 2008 21:12:06 -0000 Received: (qmail 69627 invoked by uid 500); 14 Jun 2008 21:12:08 -0000 Delivered-To: apmail-incubator-couchdb-dev-archive@incubator.apache.org Received: (qmail 69603 invoked by uid 500); 14 Jun 2008 21:12:08 -0000 Mailing-List: contact couchdb-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: couchdb-dev@incubator.apache.org Delivered-To: mailing list couchdb-dev@incubator.apache.org Received: (qmail 69592 invoked by uid 99); 14 Jun 2008 21:12:08 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 14 Jun 2008 14:12:08 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 14 Jun 2008 21:11:26 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 231AF234C139 for ; Sat, 14 Jun 2008 14:11:45 -0700 (PDT) Message-ID: <2128816667.1213477905129.JavaMail.jira@brutus> Date: Sat, 14 Jun 2008 14:11:45 -0700 (PDT) From: "Ryszard Szopa (JIRA)" To: couchdb-dev@incubator.apache.org Subject: [jira] Updated: (COUCHDB-79) it shouldn't be possible to delete documents that don't exist in a bulk upload In-Reply-To: <2090671638.1213477785313.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/COUCHDB-79?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ryszard Szopa updated COUCHDB-79: --------------------------------- Affects Version/s: 0.8 > it shouldn't be possible to delete documents that don't exist in a bulk upload > ------------------------------------------------------------------------------ > > Key: COUCHDB-79 > URL: https://issues.apache.org/jira/browse/COUCHDB-79 > Project: CouchDB > Issue Type: Bug > Components: HTTP Interface > Affects Versions: 0.8 > Reporter: Ryszard Szopa > Priority: Minor > > If you try to delete in _bulk_docs (by setting the attribute "_deleted" to true) a document that doesn't exist (either because it doesn't have an id, or because it has an id not present in the database), CouchDB replies with a happy 201 (created). This is not a good behavior: if I am trying to delete something that's not in the database, then I am probably doing something wrong, and I'd like to know it: the whole transaction (bulk upload) should fail. > Also, the present behavior is inconsistent with respect to deleting with a DELETE request, which returns a 404. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.