eiri opened a new pull request #627: Pass UserCtx to fabric's all_docs from mango query URL: https://github.com/apache/couchdb/pull/627 ## Overview We don't pass `UserCtx` in `fabric:all_docs/4` call in mango's view query which doesn't matter most of the times, except when we need to check admin credentials to return documents as in case of the queries against `_users`database. As a result we are getting back `null` as a body of the documents and crash. ## Testing recommendations Steps described in apache/couchdb#535 shouldn't crash with `case_clause`, but should return a proper document. ## GitHub issue number Fixes #535 ## Checklist - [x] Code is written and works correctly; - [ ] Changes are covered by tests; - [ ] Documentation reflects the changes; ---------------------------------------------------------------- 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
