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 723054646 for ; Fri, 1 Jul 2011 21:21:55 +0000 (UTC) Received: (qmail 1041 invoked by uid 500); 1 Jul 2011 21:21:53 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 212 invoked by uid 500); 1 Jul 2011 21:21: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 203 invoked by uid 99); 1 Jul 2011 21:21:51 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Jul 2011 21:21:51 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_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; Fri, 01 Jul 2011 21:21:49 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 997BD43FE47 for ; Fri, 1 Jul 2011 21:21:28 +0000 (UTC) Date: Fri, 1 Jul 2011 21:21:28 +0000 (UTC) From: "Randall Leeds (JIRA)" To: dev@couchdb.apache.org Message-ID: <404680590.9803.1309555288625.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Resolved] (COUCHDB-635) A document with a field named 'constructor' causes it to silently be excluded from any and all map views 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-635?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Randall Leeds resolved COUCHDB-635. ----------------------------------- Resolution: Fixed Fix Version/s: 0.11 According to Chris' last comment this was fixed in 0.11 but no one closed the ticket. I haven't gone back to check 0.11 for sure but 1.0.1 and beyond definitely doesn't have this problem. > A document with a field named 'constructor' causes it to silently be excluded from any and all map views > -------------------------------------------------------------------------------------------------------- > > Key: COUCHDB-635 > URL: https://issues.apache.org/jira/browse/COUCHDB-635 > Project: CouchDB > Issue Type: Bug > Components: JavaScript View Server > Affects Versions: 0.10.1 > Environment: Mac OS X 10.6.2, CouchDB 0.10.1 > Reporter: James Cash > Priority: Minor > Fix For: 0.11 > > > If a document has a (nested) field named 'constructor', any map which attempts to emit the document will instead silently discard it. > For example, the document > { "_id": "CSC190H1S", > "_rev": "32-287eec55e59305ee94129a0be940bf41", > "outcomes": { > "constructor": [ > "knowledge" > ] > } > } > will silently be excluded by any view which attempts to emit "doc" or "doc.outcomes" . -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira