couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Vander Stichele (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (COUCHDB-1109) errors when requesting missing lists/views/shows are not helpful
Date Tue, 29 Mar 2011 11:22:05 GMT

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

Thomas Vander Stichele commented on COUCHDB-1109:
-------------------------------------------------

With the attached patch, I now get:

$ curl -X GET http://localhost:5984/bank/_design/demo/_list/customers/by_name?reduce=false
{"error":"not_found","reason":"missing lists function customers on design doc _design/demo"}

That actually tells me where to look for the reason why it's not working.

> errors when requesting missing lists/views/shows are not helpful
> ----------------------------------------------------------------
>
>                 Key: COUCHDB-1109
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-1109
>             Project: CouchDB
>          Issue Type: Improvement
>          Components: HTTP Interface
>    Affects Versions: 1.0.2
>            Reporter: Thomas Vander Stichele
>            Priority: Minor
>         Attachments: missing-function.patch
>
>
> While doing the training, we implemented an example list function that should have been
called customers.js but I accidentally called it customer.js
> So I get:
> $ curl -X GET http://localhost:5984/bank/_design/demo/_list/customers/by_name?reduce=false
> {"error":"not_found","reason":"missing function"}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message