Uploaded image for project: 'Couchbase Ruby client library'
  1. Couchbase Ruby client library
  2. RCBC-29

Cannot read value when incorrect flags are set

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 1.1.1
    • 1.1.0
    • library
    • Security Level: Public
    • None
    • ruby 1.9.3

    Description

      We have a third party application writing data to couchbase using Python. When the Ruby application tries to read the data, the following error is returned:

      Couchbase::Error::ValueFormat: unable to convert value

      The Ruby gem is using the flags to determine the serialization method and there is no way to override. This could be resolved by allowing the get to take a format parameter such as:

      connection.get 'some_key', :format => :plain

      Attachments

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

        Activity

          People

            avsej Sergey Avseyev
            dshimy Darian Shimy
            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