Uploaded image for project: 'Spymemcached Java Client'
  1. Spymemcached Java Client
  2. SPY-65

set methods not writing couchdb compatible strings

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: 2.8.0-dp3
    • Fix Version/s: None
    • Component/s: library
    • Security Level: Public
    • Labels:
      None
    • Environment:
      Win 7, CentOS 5, couchbase 2.0 developer preview

      Description

      When using the set method, through either MemcachedClient or CouchbaseClient, and passing in a String in JSON format, the document actually gets written as an attachment rather than a JSON document that CouchDB can parse.

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

        Activity

        Hide
        perry Perry Krug added a comment -

        Application can't set "_id" as it is a reserved field.

        Show
        perry Perry Krug added a comment - Application can't set "_id" as it is a reserved field.
        Hide
        perry Perry Krug added a comment -

        This was discovered to be a bug in the code whereby the application was setting an "_id" value which is a reserved field and once removed the issue went away.

        Show
        perry Perry Krug added a comment - This was discovered to be a bug in the code whereby the application was setting an "_id" value which is a reserved field and once removed the issue went away.
        Hide
        zortness Kurtis added a comment -

        This also happens using the "add" method with the CouchbaseClient.

        Show
        zortness Kurtis added a comment - This also happens using the "add" method with the CouchbaseClient.
        Hide
        zortness Kurtis added a comment -

        Attached a test. The get methods return the proper data, but looking at the records in the couchbase web interface, you will see they are inserted as attachments.

        Show
        zortness Kurtis added a comment - Attached a test. The get methods return the proper data, but looking at the records in the couchbase web interface, you will see they are inserted as attachments.

          People

          • Assignee:
            mikew Mike Wiederhold
            Reporter:
            zortness Kurtis
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Gerrit Reviews

              There are no open Gerrit changes