Return-Path: X-Original-To: apmail-couchdb-dev-archive@www.apache.org Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A7AFF173DD for ; Fri, 31 Oct 2014 03:29:34 +0000 (UTC) Received: (qmail 95550 invoked by uid 500); 31 Oct 2014 03:29:34 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 95480 invoked by uid 500); 31 Oct 2014 03:29:34 -0000 Mailing-List: contact dev-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list dev@couchdb.apache.org Received: (qmail 95465 invoked by uid 99); 31 Oct 2014 03:29:34 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 31 Oct 2014 03:29:34 +0000 Date: Fri, 31 Oct 2014 03:29:34 +0000 (UTC) From: "Alexander Shorin (JIRA)" To: dev@couchdb.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Closed] (COUCHDB-1411) futon breaking in chrome and throwing errors in firefox after editing _security for a DB MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/COUCHDB-1411?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alexander Shorin closed COUCHDB-1411. ------------------------------------- Resolution: Cannot Reproduce Looks as some permission issue, but cannot reach the same effect. > futon breaking in chrome and throwing errors in firefox after editing _security for a DB > ---------------------------------------------------------------------------------------- > > Key: COUCHDB-1411 > URL: https://issues.apache.org/jira/browse/COUCHDB-1411 > Project: CouchDB > Issue Type: Bug > Components: Futon > Affects Versions: 1.1.1 > Environment: chrome, firefox > Reporter: paul iannazzo > Labels: _security, futon, security > Original Estimate: 24h > Remaining Estimate: 24h > > this situation happens when i edit the security object of my db. i change the roles for readers to ["_admin"]. > then back to []. > futon can not load my documents after the first change, and second. > now when i click on my db in the overview, the url that it loads is ..._utils/database.html?install/_security > i also get a pop-up error, and futon does not render any of my documents (blank list) > ------------------------------------------------------------------------------------------------------------------------------------------------------------ > chrome console log: > GET http://192.168.1.254:5984/_config/query_servers/ 401 (Unauthorized) > jQuery.extend.ajaxjquery.js:5252 > ajaxjquery.couch.js:636 > $.extend.configjquery.couch.js:62 > $.extend.CouchDatabasePage.populateLanguagesMenufuton.browse.js:345 > $.extend.CouchDatabasePage.populateViewEditorfuton.browse.js:309 > (anonymous function)database.html:92 > jQuery.extend.readyjquery.js:392 > DOMContentLoaded > XHR finished loading: "http://192.168.1.254:5984/install/_all_docs?startkey=%22_design%2F%22&endkey=%22_design0%22&include_docs=true". > jQuery.extend.ajaxjquery.js:5252 > ajaxjquery.couch.js:636 > $.extend.db.allDocsjquery.couch.js:310 > $.extend.CouchDatabasePage.populateViewsMenufuton.browse.js:366 > (anonymous function)database.html:91 > jQuery.extend.readyjquery.js:392 > DOMContentLoadedjquery.js:745 > GET http://192.168.1.254:5984/install/_design/undefined/_view/undefined?limit=11 404 (Object Not Found) > jQuery.extend.ajaxjquery.js:5252 > ajaxjquery.couch.js:636 > $.extend.db.viewjquery.couch.js:532 > $.extend.CouchDatabasePage.updateDocumentListingfuton.browse.js:785 > $.extend.CouchDatabasePage.populateViewEditorfuton.browse.js:307 > (anonymous function)database.html:92 > jQuery.extend.readyjquery.js:392 > DOMContentLoaded > the GET 'install/_design/undefined/_view/undefined' doesn't make sense to me > ------------------------------------------------------------------------------------------------------------------------------------------------------------ > on firefox console i get: > http://192.168.1.254:5984/_config/query_servers/ > 401 Unauthorized 89ms > jquery.js?1.4.2 (line 5252) > HeadersResponseJSON > {"error":"unauthorized","reason":"You are not a server admin."} > firefox does not give me a pop-up error and other than the console error things seem to work as normal -- This message was sent by Atlassian JIRA (v6.3.4#6332)