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 5C786100CB for ; Mon, 1 Jul 2013 22:56:21 +0000 (UTC) Received: (qmail 44299 invoked by uid 500); 1 Jul 2013 22:56:20 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 44157 invoked by uid 500); 1 Jul 2013 22:56:20 -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 44083 invoked by uid 99); 1 Jul 2013 22:56:20 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Jul 2013 22:56:20 +0000 Date: Mon, 1 Jul 2013 22:56:20 +0000 (UTC) From: "Alexander Shorin (JIRA)" To: dev@couchdb.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (COUCHDB-1362) couchjs doesn't clean out global namespace between views calls 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-1362?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alexander Shorin updated COUCHDB-1362: -------------------------------------- Component/s: JavaScript View Server > couchjs doesn't clean out global namespace between views calls > -------------------------------------------------------------- > > Key: COUCHDB-1362 > URL: https://issues.apache.org/jira/browse/COUCHDB-1362 > Project: CouchDB > Issue Type: Bug > Components: JavaScript View Server > Affects Versions: 1.1.1 > Environment: Linux > Reporter: jay groven > Priority: Minor > > Sometimes a view can access the functions that were defined in a previous view. This can lead a developer to think that function sharing has been implemented, but it's not reliable behaviour. It would be better if the global namespace were cleared between map/reduce runs so that it's clear that there is no reliable way to share functions between views. -- 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