From dev-return-9443-apmail-couchdb-dev-archive=couchdb.apache.org@couchdb.apache.org Mon Mar 29 15:53:55 2010 Return-Path: Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: (qmail 21999 invoked from network); 29 Mar 2010 15:53:55 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 29 Mar 2010 15:53:55 -0000 Received: (qmail 76152 invoked by uid 500); 29 Mar 2010 15:53:51 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 76102 invoked by uid 500); 29 Mar 2010 15:53:51 -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 76077 invoked by uid 99); 29 Mar 2010 15:53:51 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Mar 2010 15:53:51 +0000 X-ASF-Spam-Status: No, hits=-1163.4 required=10.0 tests=ALL_TRUSTED,AWL 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:50 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 36A2D29A0066 for ; Mon, 29 Mar 2010 15:52:29 +0000 (UTC) Message-ID: <1615133711.552931269877949215.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-103) Document sealing no longer works with Mozilla spidermonkey 1.8 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-103?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Noah Slater updated COUCHDB-103: -------------------------------- Fix Version/s: (was: 0.11) 0.12 > Document sealing no longer works with Mozilla spidermonkey 1.8 > -------------------------------------------------------------- > > Key: COUCHDB-103 > URL: https://issues.apache.org/jira/browse/COUCHDB-103 > Project: CouchDB > Issue Type: Bug > Components: JavaScript View Server > Affects Versions: 0.7.2, 0.8 > Environment: all > Reporter: Damien Katz > Assignee: Noah Slater > Fix For: 0.12 > > > In the spidermonkey engine, we use a built-in function sealing for sealing documents so that map functions of arrays no longer works. Array sealing no longer works with javascript 1.8, meaning our document that contain arrays cannot be sealed. The sealing is meant to prevent map functions from modifying the same document that will be passed to other map functions. > The (hopefully temporary) fix here is to simply remove the document sealing, and map function placed in the same design document will have to be trustworthy that they don't modify the document (the same document is passed to multiple map functions). Non-trustworthy map functions can be placed in their own design documents, they will be run in isolation. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.