Uploaded image for project: 'Couchbase Lite'
  1. Couchbase Lite
  2. CBL-833

Cannot handle deltas with null message body

    XMLWordPrintable

Details

    • Bug
    • Resolution: Not a Bug
    • Major
    • 2.8.0
    • None
    • LiteCore
    • Security Level: Public

    Description

      Sync Gateway sometimes sends null as a message body when sending a delta.  I assume that this means there was no change but a new revision was created anyway for some reason.  However, JSONConverter is unable to decode a null literal in a stream, and thinks that the value is truncated.  Removing this check just makes it fail later when the delta is null.

      Attachments

        Issue Links

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

          Activity

            People

              jimb Jim Borden
              jimb Jim Borden
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty