[
https://issues.apache.org/jira/browse/COUCHDB-740?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Chris Anderson closed COUCHDB-740.
----------------------------------
Resolution: Fixed
closed in 936889
thanks for the patch!
> Fix Erlang view server when calling a filter function
> -----------------------------------------------------
>
> Key: COUCHDB-740
> URL: https://issues.apache.org/jira/browse/COUCHDB-740
> Project: CouchDB
> Issue Type: Bug
> Affects Versions: 0.11
> Reporter: Filipe Manana
> Attachments: erlang-view-server-filter-function-fix-3.patch
>
>
> Reported to the dev mailing list by Ivan Bodunov:
> "Hi,
> 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
> CouchDB.
> 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:
> http://friendpaste.com/6eFpPOtTaaSRiXEvaUEmrZ
> CouchDB 0.11 on Mac.
> "
> patch attached with test
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.