couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dav...@apache.org
Subject svn commit: r1172020 - /couchdb/trunk/src/couch_mrview/src/couch_mrview_show.erl
Date Sat, 17 Sep 2011 17:03:11 GMT
Author: davisp
Date: Sat Sep 17 17:03:11 2011
New Revision: 1172020

URL: http://svn.apache.org/viewvc?rev=1172020&view=rev
Log:
Fix bug introduced during the backport of COUCHDB-1229.


Modified:
    couchdb/trunk/src/couch_mrview/src/couch_mrview_show.erl

Modified: couchdb/trunk/src/couch_mrview/src/couch_mrview_show.erl
URL: http://svn.apache.org/viewvc/couchdb/trunk/src/couch_mrview/src/couch_mrview_show.erl?rev=1172020&r1=1172019&r2=1172020&view=diff
==============================================================================
--- couchdb/trunk/src/couch_mrview/src/couch_mrview_show.erl (original)
+++ couchdb/trunk/src/couch_mrview/src/couch_mrview_show.erl Sat Sep 17 17:03:11 2011
@@ -108,7 +108,7 @@ show_etag(#httpd{user_ctx=UserCtx}=Req, 
 %     send_method_not_allowed(Req, "POST,PUT,DELETE,ETC");
 
 handle_doc_update_req(#httpd{
-        path_parts=[_, _, _, _, UpdateName, DocIdParts]
+        path_parts=[_, _, _, _, UpdateName | DocIdParts]
     }=Req, Db, DDoc) ->
     DocId = ?l2b(string:join([?b2l(P) || P <- DocIdParts], "/")),
     Doc = maybe_open_doc(Db, DocId),



Mime
View raw message