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

buildDeferredIndexes throws parsing failure

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 3.0.5
    • 3.0.4
    • library
    • None
    • 1

    Description

      Error: parsing failure
          at _getWrappedErr (/app/node_modules/couchbase/lib/errors.js:830:14)
          at Object.wrapLcbErr (/app/node_modules/couchbase/lib/errors.js:1009:20)
          at /app/node_modules/couchbase/lib/queryexecutor.js:116:26
      

      The bucket name should be passed to getAllIndexes:
      https://github.com/couchbase/couchnode/blob/master/lib/queryindexmanager.js#L353

      The list should be checked for empty here, not truthy:
      https://github.com/couchbase/couchnode/blob/master/lib/queryindexmanager.js#L367

      Attachments

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

        Activity

          People

            brett19 Brett Lawson
            btburnett3 Brant Burnett
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty