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<[email protected]>  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





Reply via email to