Return-Path: Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: (qmail 21845 invoked from network); 29 Mar 2010 15:53:53 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 29 Mar 2010 15:53:53 -0000 Received: (qmail 68094 invoked by uid 500); 29 Mar 2010 15:53:35 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 68004 invoked by uid 500); 29 Mar 2010 15:53:35 -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 67871 invoked by uid 99); 29 Mar 2010 15:53:35 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Mar 2010 15:53:35 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Mar 2010 15:53:31 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 14AAE29A005D for ; Mon, 29 Mar 2010 15:52:29 +0000 (UTC) Message-ID: <1482417863.552841269877949083.JavaMail.jira@brutus.apache.org> Date: Mon, 29 Mar 2010 15:52:29 +0000 (UTC) From: "Noah Slater (JIRA)" To: dev@couchdb.apache.org Subject: [jira] Updated: (COUCHDB-191) Bad javascript syntax in Futon's custom query editor doesn't show an error when run. 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-191?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Noah Slater updated COUCHDB-191: -------------------------------- Fix Version/s: (was: 0.11) 0.12 > Bad javascript syntax in Futon's custom query editor doesn't show an error when run. > ------------------------------------------------------------------------------------- > > Key: COUCHDB-191 > URL: https://issues.apache.org/jira/browse/COUCHDB-191 > Project: CouchDB > Issue Type: Bug > Components: Futon > Affects Versions: 0.9 > Environment: OS: EEEubuntu (based on Ubuntu 8.10). Hardware: EEE PC 904hd. Browser: Firefox 3.0.5. > Reporter: Luke Venediger > Priority: Minor > Fix For: 0.12 > > Original Estimate: 48h > Remaining Estimate: 48h > > In the custom view editor, Futon doesn't report an error when there is bad syntax in the javascript. > To reproduce: > 1. Browse to http://localhost:5984/_utils/ > 2. Open a database > 3. Change the view to "Custom Query..." > 4. In the view code section: > change: emit(null, doc); > to: emit(null, doc > 5. Click "Run" > Actual results: > The page returns with an empty table below the query editor. > Expected results: > The page should return showing a message like "Error in view. Missing ')' after doc, line 3" > Notes: > The http response was 200 OK, where it should've been a 400 - Bad Request. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.