couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Caleb Land (JIRA)" <j...@apache.org>
Subject [jira] Commented: (COUCHDB-809) Saving an attachment stub with a missing revpos field results in a 412 Precondition Failed (missing_stub) error
Date Thu, 24 Jun 2010 16:28:49 GMT

    [ https://issues.apache.org/jira/browse/COUCHDB-809?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12882208#action_12882208
] 

Caleb Land commented on COUCHDB-809:
------------------------------------

Okay, I'll do that. Thanks

> Saving an attachment stub with a missing revpos field results in a 412 Precondition Failed
(missing_stub) error
> ---------------------------------------------------------------------------------------------------------------
>
>                 Key: COUCHDB-809
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-809
>             Project: CouchDB
>          Issue Type: Bug
>          Components: Database Core
>    Affects Versions: 0.11
>         Environment: Mac OS X 10.6, CouchDBX 0.11.0
>            Reporter: Caleb Land
>
> If you PUT a document with attachment stubs that are missing the revpos field, a 412
Precondition Failed error is raised with the message:
> {"error":"missing_stub","reason":"id:test, name:graph.html"}
> If a revpos is provided, then everything works ok.
> Here is some sample ruby code that demonstrates this: http://gist.github.com/450323
> I think the only field that should be required for an attachment is the "stub" field.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message