You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by "Nick Vatamaniuc (JIRA)" <ji...@apache.org> on 2016/07/21 21:44:20 UTC

[jira] [Created] (COUCHDB-3070) Incorrect view argument valudation for multi-query (POST) view

Nick Vatamaniuc created COUCHDB-3070:
----------------------------------------

             Summary: Incorrect view argument valudation for multi-query (POST) view
                 Key: COUCHDB-3070
                 URL: https://issues.apache.org/jira/browse/COUCHDB-3070
             Project: CouchDB
          Issue Type: Bug
          Components: Database Core
            Reporter: Nick Vatamaniuc


This query 
{code}
{
  "queries": [{
    "include_docs": true,
    "reduce": false
  }]
}
{code}

fails for instance with:

{code}
curl -XPOST 'http://adm:pass@localhost:15984/d/_design/d1/_view/v1' -H "Content-Type: application/json" -d @q2.json
{"error":"query_parse_error","reason":"`include_docs` is invalid for reduce"}
{code}

But it shouldn't since user explicitly passed reduce as false.

This should be a 2.0 issue as it prevents queries from working correctly



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)