You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by "Alexander Shorin (JIRA)" <ji...@apache.org> on 2015/02/22 12:21:11 UTC

[jira] [Closed] (COUCHDB-2608) function_clause on update mango index

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

Alexander Shorin closed COUCHDB-2608.
-------------------------------------
    Resolution: Invalid

> 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
>            Priority: Blocker
>             Fix For: 2.0.0
>
>
> {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] node1@127.0.0.1 <0.3121.0> f80ae1e2 127.0.0.1 localhost:16984 POST /test/_index 500 ok 3
> 2015-02-21 18:03:31.472 [error] node1@127.0.0.1 <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] node1@127.0.0.1 <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)