Uploaded image for project: 'Couchbase Python Client Library'
  1. Couchbase Python Client Library
  2. PYCBC-1322

Scoped Transactional queries broken

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 4.0.x
    • None
    • None
    • 1
    • SDK20: Pathfinding + Wrappers

    Description

      The TransactionQueryOptions missed a change in the Scope class, so now scoped transactional queries are broken.  The error -

      couchbase.exceptions.TransactionFailed: TransactionFailed{<message=AttributeError("'Scope' object has no attribute 'bucket'")>} 

      is simple to fix.   However, lets instead come up with a way to test the transaction options/config classes better.   We cannot just make use of all options and test the effects.   Better we just insure the right thing is in the underlying c++ object.   One way - have a function that returns a dict of the pycbc_core option.   Then we know we are setting things correctly in the option classes.  

      Attachments

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

        Activity

          People

            david.kelly David Kelly (Inactive)
            david.kelly David Kelly (Inactive)
            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