[ 
https://issues.apache.org/jira/browse/COUCHDB-2793?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14721527#comment-14721527
 ] 

Andy Wenk commented on COUCHDB-2793:
------------------------------------

I just realised, that the developers console shows:

Failed to load resource: the server responded with a status of 400 (Bad 
Request) 

for the endpoint _cluster_setup. So that makes sense and the message is 
obviously correct. There is still the question, if the link should be there at 
all, if it is a CouchDB < 2.0

> click on "Run a Query with Mango" unexpected behaviour
> ------------------------------------------------------
>
>                 Key: COUCHDB-2793
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-2793
>             Project: CouchDB
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: Fauxton
>            Reporter: Andy Wenk
>
> * I installed Fauxton via npm ([email protected])
> * I tunneld to a CouchDB 1.6.1 
> * opened Fauxton at localhost:8000
> * clicked on "Run a Query with Mango"
> -> I see a error message named "Bad Request"
>  
> A look to the network devtools shows, that the endpoint _index is not found. 
> This is expected, because 1.6.1 does not have that endpoint. But the wording 
> "Bad Request" is assuming the HTTP status code is 400. But the status code is 
> 404 "Not Found" since the URL is not found.
> (-) I think the error message should be changed
> (?) why is the link there at all? If it is not supported, the link does not 
> make sense. I think a check like trying to receive not a 404 for the _index 
> endpoint would be nice.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to