Uploaded image for project: 'Forum'
  1. Forum
  2. FORUM-556

New: Cannot emit document if it has an attribute appended

    XMLWordPrintable

Details

    • Task
    • Resolution: Fixed
    • Major
    • Security Level: Public
    • None

    Description

      I am writing a map function in JavaScript which will append some values to
      given document and then emit it. If I do that then nothing is returned.

      Map function example:

      function(doc)

      { doc.test = 'test'; emit(null, doc); }

      I am running a couchbase 64 bit server on windows. I also tried this on
      iriscouch.com and the same is happening there. In JavaScript you usually can
      do this.

      Read more https://www.couchbase.org/forums/node/1001269


      This is an automatic message from Couchbase Forums
      To manage your subscriptions, browse to
      https://www.couchbase.org/forums/user/1000697/notifications
      You can unsubscribe at
      https://www.couchbase.org/forums/notifications/unsubscribe/sid/11?signature=2cd5666dcfbd5c6bddb823939d508cd2

      [Created via e-mail received from: "community_admin@couchbase.com" <community_admin@couchbase.com>]

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            perry Perry Krug
            perry Perry Krug
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty