On Mon, Jun 14, 2010 at 02:34, Paul Bonser <[email protected]> wrote:

> Looks like you forgot to attach the patch. I think your reasoning is
> sound. Whether or not it's an API change could be up for debate. Since
> the _update functionality isn't particularly well documented yet, I
> don't know if a lot of people are using it yet...
>

My outbox shows I did; but the archive site throws an error for that
message.

Anyway, if this one fails it's okay because I will add a test case and
submit it into JIRA. You know, due to all the enthusiasm I've seen for
making CouchDB more symmetric! :)


-- 
Jason Smith
Couchio Hosting
diff --git a/src/couchdb/couch_httpd_show.erl b/src/couchdb/couch_httpd_show.erl
index c098f5e..5c0699f 100644
--- a/src/couchdb/couch_httpd_show.erl
+++ b/src/couchdb/couch_httpd_show.erl
@@ -117,7 +117,7 @@ handle_doc_update_req(#httpd{
 handle_doc_update_req(#httpd{
         path_parts=[_, _, _, _, UpdateName]
     }=Req, Db, DDoc) ->
-    send_doc_update_response(Req, Db, DDoc, UpdateName, nil, null);
+    send_doc_update_response(Req, Db, DDoc, UpdateName, nil, couch_uuids:random());
 
 handle_doc_update_req(Req, _Db, _DDoc) ->
     send_error(Req, 404, <<"update_error">>, <<"Invalid path.">>).

Reply via email to