You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by "Nome Consulting (JIRA)" <ji...@apache.org> on 2010/07/07 02:13:50 UTC
[jira] Created: (COUCHDB-819) rev 958039 breaks "Save Document"
rev 958039 breaks "Save Document"
---------------------------------
Key: COUCHDB-819
URL: https://issues.apache.org/jira/browse/COUCHDB-819
Project: CouchDB
Issue Type: Bug
Components: Futon
Affects Versions: 0.11
Environment: Ubuntu 10.04, amd64
Reporter: Nome Consulting
The following patch fixes a bug introduced by rev 958039. fullCommit is not defined and because of it some browsers break at line 362. beforeSend is not used in saveDoc.
Index: share/www/script/jquery.couch.js
===================================================================
--- share/www/script/jquery.couch.js (revision 961023)
+++ share/www/script/jquery.couch.js (working copy)
@@ -359,7 +359,7 @@
saveDoc: function(doc, options) {
options = options || {};
var db = this;
- var beforeSend = fullCommit(options);
+ //var beforeSend = fullCommit(options);
if (doc._id === undefined) {
var method = "POST";
var uri = this.uri;
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Closed: (COUCHDB-819) rev 958039 breaks "Save Document"
Posted by "Chris Anderson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/COUCHDB-819?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chris Anderson closed COUCHDB-819.
----------------------------------
Resolution: Fixed
thanks, this was due to an incomplete backport, and it should be fixed now. Let us know if the problem is still there in the 0.11.x branch
> rev 958039 breaks "Save Document"
> ---------------------------------
>
> Key: COUCHDB-819
> URL: https://issues.apache.org/jira/browse/COUCHDB-819
> Project: CouchDB
> Issue Type: Bug
> Components: Futon
> Affects Versions: 0.11
> Environment: Ubuntu 10.04, amd64
> Reporter: Nome Consulting
>
> The following patch fixes a bug introduced by rev 958039. fullCommit is not defined and because of it some browsers break at line 362. beforeSend is not used in saveDoc.
> Index: share/www/script/jquery.couch.js
> ===================================================================
> --- share/www/script/jquery.couch.js (revision 961023)
> +++ share/www/script/jquery.couch.js (working copy)
> @@ -359,7 +359,7 @@
> saveDoc: function(doc, options) {
> options = options || {};
> var db = this;
> - var beforeSend = fullCommit(options);
> + //var beforeSend = fullCommit(options);
> if (doc._id === undefined) {
> var method = "POST";
> var uri = this.uri;
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.