Hi there,

I've tried running both 1.0.1 and a fresh build of the Sync Gateway code on 
master, and I'm getting this error when changes are made to my test 
document on the Couchbase Server side (via the web ui):

15:44:01.689888 WARNING: Error unmarshaling doc 
"activity-gareth-2014-08-02T15:47:29.262Z": json: cannot unmarshal string 
into Go value of type []string -- db.(*document).UnmarshalJSON() at 
document.go:237

My document looks like this:

{
  "_sync": {
    "rev": "1-b754f3a834d0ae1b53076a9fd86221ab",
    "sequence": 1,
    "history": {
      "revs": [
        "1-b754f3a834d0ae1b53076a9fd86221ab"
      ],
      "parents": [
        -1
      ],
      "bodies": [
        ""
      ],
      "channels": [
        "*"
      ]
    },
    "time_saved": "2014-08-07T13:50:33.0106696+01:00"
  },
  "data": "foo, bar, baz, foobar",
  "durationSeconds": 0,
  "name": "test recording 2"
}

The original document was synced over to the server successfully from my 
Couchbase Lite app, but I've yet to see a successful sync back of server 
side changes. The change I made here was to add ', foobar' to the "data" 
value. As far as I can see the document is valid...

I'm using Couchbase Server 2.2.0 community edition (build-837).

Does anyone have any ideas please?

-- 
You received this message because you are subscribed to the Google Groups 
"Couchbase Mobile" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/mobile-couchbase/b2054de6-d057-47af-ad6d-5df77b2db0bf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to