couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Filipe Manana (JIRA)" <>
Subject [jira] Created: (COUCHDB-740) Fix Erlang view server when calling a filter function
Date Fri, 16 Apr 2010 17:04:25 GMT
Fix Erlang view server when calling a filter function

                 Key: COUCHDB-740
             Project: CouchDB
          Issue Type: Bug
    Affects Versions: 0.11
            Reporter: Filipe Manana
         Attachments: erlang-view-server-filter-function-fix.patch

Reported to the dev mailing list by Ivan Bodunov:


After I wrote my filter in JavaScript I decided to rewrite it in Erlang and
faced some problems.
Even the simplest possible filter written in Erlang causes crashes in

Filter is
   "filters": { "foo": "fun({Doc},Req) -> true end." }

Command to trigger the filter is
   # curl -X GET http://localhost:5984/mytemp/_changes?filter=erl/foo

Following link contains the crash report:

CouchDB 0.11 on Mac.

patch attached with test

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:


View raw message