kocolosk commented on issue #607: Extra 500 reply added to list function response when accessed through rewrite URL: https://github.com/apache/couchdb/issues/607#issuecomment-310256488 Well, that's a gnarly one! I stared at this for a while this evening and could not quite suss out what's going wrong. I did go back and track down L343 from chttpd as of 2.0.0: https://github.com/apache/couchdb-chttpd/blob/2c1f3a3/src/chttpd.erl#L343 A subtle point that might help future debuggers: the `undef` error with `<<"lacc:get/2">>` as the first element in the stacktrace is caused by trying to execute the `get` function supplying a `#lacc{}` record (an internal data structure defined by `couch_mrview` and used in list processing) instead of the mochiweb_response parameterized module that is supposed to be bound to `Resp`. Next step is to figure out how we get a final response of the form `{ok, #lacc{}}` from the list processor. ---------------------------------------------------------------- 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
