You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by "Joan Touzet (JIRA)" <ji...@apache.org> on 2013/01/26 12:37:12 UTC
[jira] [Assigned] (COUCHDB-1053) missing_named_view for reduce fxns
that compile but throw runtime errors
[ https://issues.apache.org/jira/browse/COUCHDB-1053?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Joan Touzet reassigned COUCHDB-1053:
------------------------------------
Assignee: Bob Dionne
Bob asked for a couple of simple tickets, so here's a fun one for him. Looks straightforward.
> missing_named_view for reduce fxns that compile but throw runtime errors
> ------------------------------------------------------------------------
>
> Key: COUCHDB-1053
> URL: https://issues.apache.org/jira/browse/COUCHDB-1053
> Project: CouchDB
> Issue Type: Bug
> Components: JavaScript View Server
> Environment: OSX, prebuilt
> Reporter: Ryan Richt
> Assignee: Bob Dionne
> Priority: Trivial
> Fix For: 1.3
>
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> Attempting to query a map-only view with reduce=false yields the same error message as (1) a view that is undefined and (2) a view that has a defined, compile-time valid, but run-time invalid reduce function. So if your reduce function throws a TypeError, you get this cryptic error (cryptic b/c so many problems yield the same error) instead of an error to that effect. Errors do show up in the log, and this is what the view gives:
> {"error":"not_found","reason":"missing_named_view"}
> Might be fixed in 1.0.2 but I cant use the built-in updater anymore after corporate firewall changes!
--
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