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

When posting JSON strings in rails this function is passed a StringIO object not a string.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 1.2.0
    • 1.2.0.z.beta4
    • None
    • Security Level: Public
    • None

    Description

      https://github.com/couchbase/couchbase-ruby-client/pull/5

      When posting JSON strings in rails this function is passed a StringIO object not a string.
      This causes the following error:

      MultiJson::DecodeError
      399: unexpected token at '#<StringIO:0x2f64720>]'

      Attachments

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

        Activity

          People

            avsej Sergey Avseyev
            avsej Sergey Avseyev
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty