From dev-return-14711-apmail-couchdb-dev-archive=couchdb.apache.org@couchdb.apache.org Wed Feb 02 14:33:56 2011 Return-Path: Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: (qmail 98639 invoked from network); 2 Feb 2011 14:33:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 2 Feb 2011 14:33:55 -0000 Received: (qmail 97534 invoked by uid 500); 2 Feb 2011 14:33:55 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 97108 invoked by uid 500); 2 Feb 2011 14:33:52 -0000 Mailing-List: contact dev-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list dev@couchdb.apache.org Received: (qmail 97090 invoked by uid 99); 2 Feb 2011 14:33:51 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Feb 2011 14:33:51 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Feb 2011 14:33:50 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 227DA1881B6 for ; Wed, 2 Feb 2011 14:33:29 +0000 (UTC) Date: Wed, 2 Feb 2011 14:33:29 +0000 (UTC) From: "Ryan Richt (JIRA)" To: dev@couchdb.apache.org Message-ID: <859892700.5115.1296657209137.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <186113459.3849.1296599249536.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] Reopened: (COUCHDB-1053) missing_named_view for reduce fxns that compile but throw runtime errors MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/COUCHDB-1053?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ryan Richt reopened COUCHDB-1053: --------------------------------- > 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 > Affects Versions: 1.0 > Environment: OSX, prebuilt > Reporter: Ryan Richt > Priority: Trivial > Fix For: 1.0.2 > > 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. - For more information on JIRA, see: http://www.atlassian.com/software/jira