couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joan Touzet (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (COUCHDB-608) 404 on missing view *before* trying to re-index the ddoc
Date Sat, 26 Jan 2013 19:49:13 GMT

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

Joan Touzet commented on COUCHDB-608:
-------------------------------------

This is already done!

See https://gist.github.com/0423a5917d3e0b6efc7b

Please close as fixed.
                
> 404 on missing view *before* trying to re-index the ddoc
> --------------------------------------------------------
>
>                 Key: COUCHDB-608
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-608
>             Project: CouchDB
>          Issue Type: Improvement
>          Components: Database Core
>    Affects Versions: 0.10.1
>            Reporter: Dirkjan Ochtman
>            Priority: Minor
>
> Apparently a 404 error ('not_found', 'missing_named_view') will currently only be thrown
after indexing of the design doc has been completed. It would be nice if it could check if
the view exists first. Fail fast!

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message