Alexander Shorin created COUCHDB-2608:
-----------------------------------------
Summary: function_clause on update mango index
Key: COUCHDB-2608
URL: https://issues.apache.org/jira/browse/COUCHDB-2608
Project: CouchDB
Issue Type: Bug
Security Level: public (Regular issues)
Components: Mango
Reporter: Alexander Shorin
{code}
$ curl -XPOST http://localhost:16984/test/_index -d '{"index":{"fields":
["foo"]}, "ddoc": "foobarbaz", "type": "json"}'
$ curl -XPOST http://localhost:16984/test/_index -d '{"index":{"fields":
["bar"]}, "ddoc": "foobarbaz", "type": "json"}'
{"error":"unknown_error","reason":"function_clause","ref":283694227}
{code}
Logs:
{code}
2015-02-21 18:03:26.089 [notice] [email protected] <0.3121.0> f80ae1e2 127.0.0.1
localhost:16984 POST /test/_index 500 ok 3
2015-02-21 18:03:31.472 [error] [email protected] <0.4653.0> req_err(283694227)
unknown_error : function_clause
[<<"mango_util:check_lang/1 L157">>,<<"mango_util:load_ddoc/2
L72">>,<<"mango_httpd:handle_index_req/2 L60">>,<<"mango_httpd:handle_req/2
L28">>,<<"chttpd:handle_request/1 L210">>,<<"mochiweb_http:headers/5
L93">>,<<"proc_lib:init_p_do_apply/3 L237">>]
2015-02-21 18:03:31.472 [error] [email protected] <0.4653.0> httpd 500 error
response:
{"error":"unknown_error","reason":"function_clause","ref":283694227}
{code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)