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

Data operations missing callback argument (CRUD operation on collection)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 4.2.1
    • 4.x
    • None
    • None
    • Couchbase Server CE 7.x and potentially 6.x
      Mac OS X Ventura arm64
      Nodejs 16.18.1
      Libcouchbase 3.3.2
    • 0
    • High

    Description

      In this case, the callback argument is not handled

      // This used to work in previous versions
      collection.insert(key, document, callback)
      

      In order to make it work, I have to add `options` argument before the callback

      // This is working
      collection.insert(key, document, options, callback)
      

      Attachments

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

        Activity

          People

            jared.casey Jared Casey
            martinluther Martin-Luther ETOUMAN
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 3h
                3h
                Remaining:
                Remaining Estimate - 3h
                3h
                Logged:
                Time Spent - Not Specified
                Not Specified

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty