Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-8907

Production view not rendering

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • Critical
    • 3.0
    • 2.0
    • view-engine
    • Security Level: Public
    • Ubuntu 64-bit

    Description

      I have a view, very simple:
      <code>
      function (doc, meta) {
      if(doc.type == 'tag')

      { emit(meta.id, null); }

      }
      </code>

      Which renders just fine in the 'development time subset', but when I look at the full query data set, it doesn't show anything. If I move it to production neither. I've tried to refresh a couple of times.

      I do have a large set documents of this type, which also have an attribute 'title' that will contain a string of text. Could it be that some characters in those title strings are messing up the view/json representation? such as a single quote, for instance?

      Also, any good method for debugging?

      Fun fact; when indexing my tags design document, consisting of two views - it goes up to 45% and then stops silently.

      Found some logs, not sure if helpful

      <code>
      lient-side error-report for user "wdev" on node 'ns_1@192.168.178.132':
      User-Agent:Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/30.0.1599.10 Safari/537.36
      Got unhandled error: Uncaught ReferenceError: ensureBucket is not defined
      At: http://192.168.178.132:8091/js/cells.js:64
      Backtrace:
      Function: collectBacktraceViaCaller
      Args:

      ---------
      Function: appOnError
      Args:
      "Uncaught ReferenceError: ensureBucket is not defined"
      "http://192.168.178.132:8091/js/cells.js"
      64
      35
      {}
      ---------

      (repeated 2 times) menelaus_web102 ns_1@192.168.178.132 09:09:47 - Wed Aug 21, 2013
      </code>

      Attachments

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

        Activity

          People

            FilipeManana Filipe Manana (Inactive)
            stijlfigurant stijlfigurant
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty