couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Davis <paul.joseph.da...@gmail.com>
Subject Re: How does "create_targe : true" work in jquery.couch.js / replicate?
Date Mon, 29 Mar 2010 14:43:35 GMT
Lena,

It looks like the replicate function is just passing the options
object onto the ajax call which more than likely is just ignoring it.
Really the replicate function should pull out any of the options it
knows and setup the data object appropriately.

HTH,
Paul Davis

On Mon, Mar 29, 2010 at 10:31 AM, Lena Herrmann <lena@zeromail.org> wrote:
> Hi,
>
> when I do this:
>
> http://gist.github.com/347846
>
> the post gets this result:
>
> 500 Internal Server Error
> status 500
> error case_clause
> reason {error,{db_not_found,<<"http://127.0.0.1:5984/spec_db_2/">>}}
>
> which is the same result as when I post the replicate without the "body :
> {"create_target":true}" option.
>
> Is there a syntax error in the way I add the option, or is this feature not
> working with the jquery interface?
>
> Lena
>
>

Mime
View raw message