You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by "Christopher Lenz (JIRA)" <ji...@apache.org> on 2008/07/29 18:20:31 UTC

[jira] Resolved: (COUCHDB-84) Reduce with group=true and count set to less than the # of returned rows, fails to close the json array

     [ 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.