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.

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.2.0.z.beta4
    • Fix Version/s: 1.2.0
    • Component/s: None
    • Security Level: Public
    • Labels:
      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

            • Assignee:
              avsej Sergey Avseyev
              Reporter:
              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