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

QueryIndexManager construction incorrect

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 3.2.0-beta.1
    • 3.2.0-alpha.2
    • library
    • None
    • 1

    Description

      async start(): Promise<void>

      { await this.ensureCollections(); await this.ensureIndexes(); }

      this throw a TypeError on alpha:

      TypeError: queryindexmanager_1.QueryIndexManager is not a constructor
      In sdk library couchbase/dist/cluster.js Cluster.queryIndexes() method is called:

      queryIndexes()

      { // Wrong invocation of QueryIndexManager should be: // return new queryindexmanager_1(this); // that solve the TypeError return new queryindexmanager_1.QueryIndexManager(this); // current implementation }

      Attachments

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

        Activity

          People

            brett19 Brett Lawson
            brett19 Brett Lawson
            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