From couchdb-dev-return-799-apmail-incubator-couchdb-dev-archive=incubator.apache.org@incubator.apache.org Tue Jul 29 16:21:26 2008 Return-Path: Delivered-To: apmail-incubator-couchdb-dev-archive@locus.apache.org Received: (qmail 54485 invoked from network); 29 Jul 2008 16:21:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 29 Jul 2008 16:21:25 -0000 Received: (qmail 51380 invoked by uid 500); 29 Jul 2008 16:21:22 -0000 Delivered-To: apmail-incubator-couchdb-dev-archive@incubator.apache.org Received: (qmail 51110 invoked by uid 500); 29 Jul 2008 16:21:22 -0000 Mailing-List: contact couchdb-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: couchdb-dev@incubator.apache.org Delivered-To: mailing list couchdb-dev@incubator.apache.org Received: (qmail 51099 invoked by uid 99); 29 Jul 2008 16:21:21 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Jul 2008 09:21:21 -0700 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.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Jul 2008 16:20:35 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id DB5D9234C174 for ; Tue, 29 Jul 2008 09:20:31 -0700 (PDT) Message-ID: <2011310736.1217348431884.JavaMail.jira@brutus> Date: Tue, 29 Jul 2008 09:20:31 -0700 (PDT) From: "Christopher Lenz (JIRA)" To: couchdb-dev@incubator.apache.org Subject: [jira] Resolved: (COUCHDB-84) Reduce with group=true and count set to less than the # of returned rows, fails to close the json array In-Reply-To: <1307023780.1214201085042.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/COUCHDB-84?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Christopher Lenz resolved COUCHDB-84. ------------------------------------- Resolution: Fixed Can you please file this second problem as a new issue? We'd like to get 0.8.1 out without this patch, but seeing how the first patch has been integrated and merged... > Reduce with group=true and count set to less than the # of returned rows, fails to close the json array > ------------------------------------------------------------------------------------------------------- > > Key: COUCHDB-84 > URL: https://issues.apache.org/jira/browse/COUCHDB-84 > Project: CouchDB > Issue Type: Bug > Components: HTTP Interface > Affects Versions: 0.8 > Reporter: Chris Anderson > Assignee: Christopher Lenz > Fix For: 0.8.1 > > Attachments: group_view_count.diff, missing_json_end.diff > > > Running a request with group=true and a count which limits the amount of rows returned, results in invalid JSON (and a 500 error being logged by CouchDB). The problems has been reproduced in a test case attached to this ticket. > The fix may be a little iffy (I changed some code that was probably like it was for a reason...) so please review before applying the patch. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.