couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lena Herrmann <l...@zeromail.org>
Subject Re: How does "create_targe : true" work in jquery.couch.js / replicate?
Date Mon, 29 Mar 2010 15:43:08 GMT
Am 29.03.10 16:43, schrieb Paul Davis:
> 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.

Okay. For the testsuite, I'll commit a failing spec then, because the 
replicate method / the ajax call really are expected to not ignore it, 
okay?

Lena

> 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