couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jan Lehnardt (JIRA)" <>
Subject [jira] Updated: (COUCHDB-185) group=true is silently dropped in non-reduce views
Date Sat, 24 Jan 2009 12:57:59 GMT


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

View raw message