wohali commented on a change in pull request #862: Whitelist system DB names as
valid _dbs docids
URL: https://github.com/apache/couchdb/pull/862#discussion_r142697930
##########
File path: src/couch/src/couch_doc.erl
##########
@@ -228,28 +244,28 @@ validate_docid(Id) ->
couch_log:debug("Document id is not a string: ~p", [Id]),
throw({illegal_docid, <<"Document id must be a string">>}).
-transfer_fields([], #doc{body=Fields}=Doc) ->
+transfer_fields([], #doc{body=Fields}=Doc, _) ->
Review comment:
Nope, even in just a PUT you hit this code through db_doc_req ->
from_json_obj_validate -> transfer_fields.
----------------------------------------------------------------
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