[
https://issues.apache.org/jira/browse/COUCHDB-166?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Hunter Morris updated COUCHDB-166:
----------------------------------
Attachment: patch
The accumulator of a fold function shouldn't be examined unless order matters.
In this case, the arguments should be treated the same regardless of order.
The attached patch inspects the arguments after they have been folded.
> Request with include_docs=true&reduce=false fails
> -------------------------------------------------
>
> Key: COUCHDB-166
> URL: https://issues.apache.org/jira/browse/COUCHDB-166
> Project: CouchDB
> Issue Type: Bug
> Components: HTTP Interface
> Affects Versions: 0.9
> Environment: Tested on Linux with CouchDB 0.9.0a720489
> Reporter: Michael Fellinger
> Attachments: patch
>
>
> There seems to be an issue related to parameter order, which I think is a
> bug, given that they are named.
> This request will work:
> /testdb/_view/user/all?reduce=false&include_docs=true
> This request will fail:
> /testdb/_view/user/all?include_docs=true&reduce=false
> producing following error with status 500:
> {"error":"query_parse_error","reason":"Bad URL query key for reduce
> operation: include_docs"}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.