Github user rnewson commented on the pull request:
https://github.com/apache/couchdb-couch-mrview/pull/29#issuecomment-142956487
group=false&group_level=0 -> valid request (no grouping)
group=false&group_level=1 or higher -> 400 bad request
group=false&group_level=exact -> 400 bad request
group=true&group_level=exact -> valid request (group_level=exact)
group=true&group_level=1 or higher -> valid request (group_level from
group_level argument)
group=true&group_level=0 -> 400 bad request
if group parameter is non-boolean, it's treated the same as if it's false
(i.e, it is not currently an error to say group=foobar), therefore the above
cases for group=false are repeated for non-boolean value.
@kocolosk @nickva
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---