Return-Path: Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: (qmail 17090 invoked from network); 29 Mar 2010 15:43:37 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 29 Mar 2010 15:43:37 -0000 Received: (qmail 37039 invoked by uid 500); 29 Mar 2010 15:43:37 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 36993 invoked by uid 500); 29 Mar 2010 15:43:37 -0000 Mailing-List: contact dev-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list dev@couchdb.apache.org Received: (qmail 36985 invoked by uid 99); 29 Mar 2010 15:43:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Mar 2010 15:43:37 +0000 X-ASF-Spam-Status: No, hits=1.8 required=10.0 tests=AWL,FS_REPLICA,NORMAL_HTTP_TO_IP,SPF_PASS,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [217.114.68.227] (HELO mail.nadir.org) (217.114.68.227) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Mar 2010 15:43:31 +0000 Received: (qmail 8403 invoked by uid 89); 29 Mar 2010 15:43:08 -0000 Received: from unknown (HELO ?192.168.1.100?) (lena@zeromail.org@95.88.81.35) by 0 with ESMTPA; 29 Mar 2010 15:43:08 -0000 Message-ID: <4BB0CA8C.50509@zeromail.org> Date: Mon, 29 Mar 2010 17:43:08 +0200 From: Lena Herrmann User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; de; rv:1.9.1.8) Gecko/20100227 Thunderbird/3.0.3 MIME-Version: 1.0 To: dev@couchdb.apache.org Subject: Re: How does "create_targe : true" work in jquery.couch.js / replicate? References: <4BB0B9DF.1020501@zeromail.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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 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 >> >> > >