[ 
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)

Reply via email to