Return-Path: X-Original-To: apmail-couchdb-dev-archive@www.apache.org Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id CB1D394F2 for ; Thu, 5 Jan 2012 17:31:05 +0000 (UTC) Received: (qmail 21117 invoked by uid 500); 5 Jan 2012 17:31:05 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 21064 invoked by uid 500); 5 Jan 2012 17:31:04 -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 21056 invoked by uid 99); 5 Jan 2012 17:31:04 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Jan 2012 17:31:04 +0000 X-ASF-Spam-Status: No, hits=-2001.6 required=5.0 tests=ALL_TRUSTED,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; Thu, 05 Jan 2012 17:31:03 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id C6BD213909B for ; Thu, 5 Jan 2012 17:30:43 +0000 (UTC) Date: Thu, 5 Jan 2012 17:30:43 +0000 (UTC) From: "Jan Lehnardt (Updated) (JIRA)" To: dev@couchdb.apache.org Message-ID: <392407004.10273.1325784643815.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <186113459.3849.1296599249536.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (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 [ https://issues.apache.org/jira/browse/COUCHDB-1053?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jan Lehnardt updated COUCHDB-1053: ---------------------------------- Fix Version/s: (was: 1.2) 1.3 Bump to 1.3.x. > 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 > 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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira