You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by "Andy Wenk (JIRA)" <ji...@apache.org> on 2015/08/30 15:27:45 UTC

[jira] [Created] (COUCHDB-2793) click on "Run a Query with Mango" unexpected behaviour

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 (fauxton@1.0.3)
* 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)