'Compact Views' compacts the database, not the view, if a design document is
not selected.
------------------------------------------------------------------------------------------
Key: COUCHDB-957
URL: https://issues.apache.org/jira/browse/COUCHDB-957
Project: CouchDB
Issue Type: Bug
Affects Versions: 1.0.1
Reporter: Robert Newson
Running 'Compact Views' from Futon when you are not viewing a design document
causes the database to be compacted, not the view.
from futon.browse.js;
case "compact_views":
var groupname = page.viewName.substring(8,
page.viewName.indexOf("/_view"));
db.compactView(groupname, {success: function(resp) { callback()
}});
break;
in this case the substring is empty, so the POST goes straight to
/dbname/_compact
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.