You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by "Jan Lehnardt (JIRA)" <ji...@apache.org> on 2009/01/24 13:57:59 UTC

[jira] Updated: (COUCHDB-185) group=true is silently dropped in non-reduce views

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

Jan Lehnardt updated COUCHDB-185:
---------------------------------

    Fix Version/s: 0.9
         Priority: Blocker  (was: Trivial)

API discussion, set blocking for 0.9.

This could be a "400 Bad Request":

    10.4.1 400 Bad Request

    The request could not be understood by the server due to malformed syntax. The client SHOULD NOT repeat the request without modifications.

-- RFC 2616.

> group=true is silently dropped in non-reduce views
> --------------------------------------------------
>
>                 Key: COUCHDB-185
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-185
>             Project: CouchDB
>          Issue Type: Improvement
>    Affects Versions: 0.9
>            Reporter: Maximillian Dornseif
>            Priority: Blocker
>             Fix For: 0.9
>
>         Attachments: group-drop-warning.patch
>
>
> If you query a view without a reduce() function and pass group=true the group parameter is ignored. This does certainly not follow the principle of least astonishment.
> One might argue, that requesting grouping on something without reduce is generally an error and thus should result in an HTTP error, but this might break to much existing code.
> But at least the fact, that the parameter was ignored should be logged.
>  

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