Andy Wenk created COUCHDB-2793:
----------------------------------

             Summary: 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