Uploaded image for project: 'Couchbase node.js Client Library'
  1. Couchbase node.js Client Library
  2. JSCBC-169

Mock library tries to read lengt of undefined if the views are not initialized

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 2.0.3
    • None
    • None
    • Security Level: Public
    • None

    Description

      I got following error:
      Cannot read property 'length' of undefined

      as a quick workaround here I would recommend:

      results = results || [];
      var rowcount = results.length;

      in the _execView function.

      Attachments

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

        Activity

          People

            brett19 Brett Lawson
            petermilan Peter Milan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty