couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul Joseph Davis (JIRA)" <j...@apache.org>
Subject [jira] Updated: (COUCHDB-177) Malformed JSON returned by keys based query
Date Sun, 14 Dec 2008 17:03:44 GMT

     [ https://issues.apache.org/jira/browse/COUCHDB-177?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Paul Joseph Davis updated COUCHDB-177:
--------------------------------------

    Attachment: COUCHDB-177.patch

This fixes it. The couch_httpd_view reduce output method wasn't respecting the AccSeparator
character returned after couch_view:reduce_fold.

> Malformed JSON returned by keys based query
> -------------------------------------------
>
>                 Key: COUCHDB-177
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-177
>             Project: CouchDB
>          Issue Type: Bug
>          Components: JavaScript View Server
>    Affects Versions: 0.9
>            Reporter: Paul Carey
>         Attachments: COUCHDB-177.patch, keys_based_query.sh
>
>
> If not all keys exist for a keys based query on a reduce view, malformed JSON may be
returned. 
> The attached test case queries a view that returns an array commencing with a comma character.
> {"rows":[,{"key":"1","value":1}]}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message