rnewson commented on issue #1021: CouchDB 2.1: _users database update handlers always invoked with null first parameter URL: https://github.com/apache/couchdb/issues/1021#issuecomment-347350270 ``` diff --git a/src/chttpd/src/chttpd_show.erl b/src/chttpd/src/chttpd_show.erl index d8e2ea5c7..ab1013d63 100644 --- a/src/chttpd/src/chttpd_show.erl +++ b/src/chttpd/src/chttpd_show.erl @@ -23,7 +23,7 @@ % then it sends the response from the query server to the http client. maybe_open_doc(Db, DocId) -> - case fabric:open_doc(Db, DocId, [conflicts]) of + case fabric:open_doc(Db, DocId, [conflicts, {user_ctx, Db#db.user_ctx}]) of {ok, Doc} -> Doc; {not_found, _} -> ``` Is the fix.
---------------------------------------------------------------- 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
