From dev-return-18907-apmail-couchdb-dev-archive=couchdb.apache.org@couchdb.apache.org Sat Oct 29 19:41:56 2011 Return-Path: X-Original-To: apmail-couchdb-dev-archive@www.apache.org Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 08E9C9FE2 for ; Sat, 29 Oct 2011 19:41:56 +0000 (UTC) Received: (qmail 91000 invoked by uid 500); 29 Oct 2011 19:41:55 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 90957 invoked by uid 500); 29 Oct 2011 19:41:55 -0000 Mailing-List: contact dev-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list dev@couchdb.apache.org Received: (qmail 90949 invoked by uid 99); 29 Oct 2011 19:41:55 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 29 Oct 2011 19:41:55 +0000 X-ASF-Spam-Status: No, hits=-2000.5 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 29 Oct 2011 19:41:53 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 3ADCD326735 for ; Sat, 29 Oct 2011 19:41:32 +0000 (UTC) Date: Sat, 29 Oct 2011 19:41:32 +0000 (UTC) From: "Jan Lehnardt (Closed) (JIRA)" To: dev@couchdb.apache.org Message-ID: <1663005442.37230.1319917292242.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Closed] (COUCHDB-818) _bulk_docs throws "Attachment name can't start with '_'" but document POST API does not MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/COUCHDB-818?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jan Lehnardt closed COUCHDB-818. -------------------------------- Resolution: Duplicate > _bulk_docs throws "Attachment name can't start with '_'" but document POST API does not > --------------------------------------------------------------------------------------- > > Key: COUCHDB-818 > URL: https://issues.apache.org/jira/browse/COUCHDB-818 > Project: CouchDB > Issue Type: Bug > Components: HTTP Interface > Affects Versions: 1.0 > Environment: Mac OS X 10.6.3 > Reporter: Benjamin Young > Attachments: 818testcase.diff > > > When inserting documents via the _bulk_docs API, I get this error if I try to include an attachment that begins with an underscore: > { > error: "bad_request" > reason: "Attachment name can't start with '_'" > } > However, if I submit a single doc with an attachment beginning with an underscore, no such error is generated. > Not sure which one should "win," but thought they should be the same. :) -- 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