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/08/03 02:39:20 UTC
[jira] [Resolved] (COUCHDB-3039) Inconsistent behavior with with
_all_docs handling of null keys between CouchDB 1.x and 2.x
[ 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)