hinesmr commented on issue #535: Mango Query won't run on _users database URL: https://github.com/apache/couchdb/issues/535#issuecomment-303238458 Neither the default query against _id in the Fauxton UI or a contructed query on the command line via CURL work with the following error: > $ curl -X POST -H "Content-Type: application/json" "http://172.17.0.1:5984/_users/_find" -d '{"selector" : {"name" : {"$eq" : "demo"}}}' Results in: > {"error":"unknown_error","reason":"case_clause","ref":1948008234} With the following in the couch log: > [error] 2017-05-22T22:34:06.233386Z [email protected] <0.966.0> 4bd8b22f4b req_err(1948008234) unknown_error : case_clause > [<<"mango_cursor_view:doc_member/3 L245">>,<<"mango_cursor_view:handle_message/2 L154">>,<<"fabric_view:maybe_send_row/1 L132">>,<<"rexi_utils:process_mailbox/6 L55">>,<<"fabric_view_all_docs:go/6 L107">>,<<"fabric_view_all_docs:go/5 L32">>,<<"mango_cursor_view:execute/3 L91">>,<<"mango_httpd:handle_find_req/2 L185">>] > [notice] 2017-05-22T22:34:06.235416Z [email protected] <0.966.0> 4bd8b22f4b 172.17.0.1:5985 172.17.0.1 undefined POST /_users/_find 500 ok 66 ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected]
With regards, Apache Git Services
