You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by "Jan Lehnardt (Closed) (JIRA)" <ji...@apache.org> on 2011/10/29 21:41:32 UTC

[jira] [Closed] (COUCHDB-818) _bulk_docs throws "Attachment name can't start with '_'" but document POST API does not

     [ 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