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

set call does not correct assign replicate_to and assign_to

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 1.2.0
    • Fix Version/s: 1.2.1
    • Component/s: library
    • Security Level: Public
    • Labels:

      Description

      Defect resides in couchbase-python-client/couchbase/connection.py

      In function set (line number 257).
      The return code is (line number 330 & 331)

      return _Base.set(self, key, value, cas, ttl, format,
      persist_to, replicate_to)

      however should be...

      return _Base.set(self, key, value, cas, ttl, format,
      persist_to=persist_to, replicate_to=replicate_to)

      The attached program can be used to demonstrate the problem.

        Issue Links

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

          Activity

          Show
          mnunberg Mark Nunberg added a comment - https://www.couchbase.com/issues/browse/PYCBC-228

            People

            • Assignee:
              owend Daniel Owen
              Reporter:
              owend Daniel Owen
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Gerrit Reviews

                There are no open Gerrit changes