Return-Path: Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: (qmail 90950 invoked from network); 4 Jan 2009 10:33:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 4 Jan 2009 10:33:06 -0000 Received: (qmail 44479 invoked by uid 500); 4 Jan 2009 10:33:05 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 44435 invoked by uid 500); 4 Jan 2009 10:33:05 -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 44424 invoked by uid 500); 4 Jan 2009 10:33:05 -0000 Delivered-To: apmail-incubator-couchdb-dev@incubator.apache.org Received: (qmail 44421 invoked by uid 99); 4 Jan 2009 10:33:05 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 04 Jan 2009 02:33:05 -0800 X-ASF-Spam-Status: No, hits=-1998.5 required=10.0 tests=ALL_TRUSTED,WEIRD_PORT 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; Sun, 04 Jan 2009 10:33:04 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 519E4234C485 for ; Sun, 4 Jan 2009 02:32:44 -0800 (PST) Message-ID: <1738096570.1231065164333.JavaMail.jira@brutus> Date: Sun, 4 Jan 2009 02:32:44 -0800 (PST) From: "Luke Venediger (JIRA)" To: couchdb-dev@incubator.apache.org Subject: [jira] Created: (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-Virus-Checked: Checked by ClamAV on apache.org 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: Administration Console 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 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.