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

Nick Vatamaniuc resolved COUCHDB-3039.
--------------------------------------
    Resolution: Fixed

> Inconsistent behavior with with _all_docs handling of null keys between 
> CouchDB 1.x and 2.x
> -------------------------------------------------------------------------------------------
>
>                 Key: COUCHDB-3039
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-3039
>             Project: CouchDB
>          Issue Type: Bug
>            Reporter: Nick Vatamaniuc
>
> CouchDB in a POST request to _all_docs where key is null will return an error 
> row:
> {code}
>  {
>    "total_rows": 14970916,
>    "offset": 0,
>    "rows": [
>       {
>          "key": null,
>          "error": "not_found"
>       },
>       ... other valid rows ...
>     ]
> }
> {code}
> CouchDB 2.0 will return a 400 error
> {code}
> HTTP/1.1 400 Bad Request
> {
>     "error": "illegal_docid",
>     "reason": null
> }
> {code}



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

Reply via email to