Return-Path: Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: (qmail 34645 invoked from network); 21 Nov 2010 13:41:08 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 21 Nov 2010 13:41:08 -0000 Received: (qmail 91961 invoked by uid 500); 21 Nov 2010 13:41:39 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 91869 invoked by uid 500); 21 Nov 2010 13:41:38 -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 91860 invoked by uid 99); 21 Nov 2010 13:41:37 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 21 Nov 2010 13:41:37 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 21 Nov 2010 13:41:35 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id oALDfDgD025362 for ; Sun, 21 Nov 2010 13:41:13 GMT Message-ID: <2398704.220491290346873710.JavaMail.jira@thor> Date: Sun, 21 Nov 2010 08:41:13 -0500 (EST) From: "Jan Lehnardt (JIRA)" To: dev@couchdb.apache.org Subject: [jira] Updated: (COUCHDB-903) semantics of COPY call does not agree with the WIKI MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/COUCHDB-903?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jan Lehnardt updated COUCHDB-903: --------------------------------- Fix Version/s: (was: 1.1) 1.2 Corrected the fix version. > semantics of COPY call does not agree with the WIKI > --------------------------------------------------- > > Key: COUCHDB-903 > URL: https://issues.apache.org/jira/browse/COUCHDB-903 > Project: CouchDB > Issue Type: Bug > Components: Database Core > Affects Versions: 1.0.1 > Environment: emacs > Reporter: Bob Dionne > Priority: Minor > Fix For: 1.2 > > Attachments: doc_copy.patch > > > according to the WIKI, the copy command: > http://wiki.apache.org/couchdb/HTTP_Document_API#COPY > should return: > {"ok":true,"id":"some_other_doc","rev":"355068078"} > It's missing the "ok":"true" portion. Here's a patch, this is against 1.0.1 but I'm sure it's also in trunk. The patch also includes a failing test. The patch function also affects bulk save and there's a change in couch.js to check this. jquey.couch.js might also need some tweaking -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.