Uploaded image for project: 'CouchDB'
  1. CouchDB
  2. COUCHDB-635

A document with a field named 'constructor' causes it to silently be excluded from any and all map views

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 0.10.1
    • 0.11
    • JavaScript View Server
    • None
    • Mac OS X 10.6.2, CouchDB 0.10.1

    • New Contributors Level (Easy)

    Description

      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" .

      Attachments

        Activity

          People

            Unassigned Unassigned
            jamesnvc James Cash
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: