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

kHasAttachments flag may be lost in Conflict Resolver

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 2.8.0
    • 3.0
    • .NET
    • Security Level: Public
    • None
    • Discussed at length, on Slack
    • Sandy 52
    • 3

    Description

      If conflict resolution adds a blob to a document, although the blob itself does get added to the document, the kHasAttachments flag may not be set. When that happens, the document appears fine in the local DB, but will not replicate correctly on subsequent replications

      Attachments

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

        Activity

          blake.meike Blake Meike created issue -
          blake.meike Blake Meike made changes -
          Field Original Value New Value
          Link This issue Clones CBL-2190 [ CBL-2190 ]
          blake.meike Blake Meike made changes -
          Summary CLONE - kHasAttachments flag may be lost in Conflict Resolver kHasAttachments flag may be lost in Conflict Resolver
          blake.meike Blake Meike made changes -
          Component/s .NET [ 15346 ]
          Component/s C [ 15350 ]
          blake.meike Blake Meike made changes -
          Link This issue Clones CBL-2190 [ CBL-2190 ]
          blake.meike Blake Meike made changes -
          Link This issue is cloned by CBL-2192 [ CBL-2192 ]
          blake.meike Blake Meike made changes -
          Link This issue is cloned by CBL-2192 [ CBL-2192 ]
          sandy.chuang Sandy Chuang made changes -
          Rank Ranked higher
          sandy.chuang Sandy Chuang made changes -
          Story Points 3
          sandy.chuang Sandy Chuang made changes -
          Assignee The Lite [ cbgto ] Sandy Chuang [ sandy.chaung ]
          jimb Jim Borden made changes -
          Sprint Sandy 52 [ 1708 ]
          jimb Jim Borden made changes -
          Rank Ranked lower
          sandy.chuang Sandy Chuang made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          Automated transition triggered when Sandychuang8 created pull request #1309 in GitHub -
          Status In Progress [ 3 ] In Review [ 10107 ]
          sandy.chuang Sandy Chuang made changes -
          Status In Review [ 10107 ] In Progress [ 3 ]
          sandy.chuang Sandy Chuang made changes -
          Status In Progress [ 3 ] In Review [ 10107 ]

          Build couchbase-lite-net-3.0.0-98 contains couchbase-lite-net commit 4088333 with commit message:
          CBL-2191 Update HasAttachment flag if doc contains blob during SaveResolvedDocument (#1309)

          build-team Couchbase Build Team added a comment - Build couchbase-lite-net-3.0.0-98 contains couchbase-lite-net commit 4088333 with commit message: CBL-2191 Update HasAttachment flag if doc contains blob during SaveResolvedDocument (#1309)
          Automated transition triggered when Sandychuang8 merged pull request #1309 in GitHub -
          Resolution Fixed [ 1 ]
          Status In Review [ 10107 ] Resolved [ 5 ]
          sandy.chuang Sandy Chuang made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

          People

            sandy.chuang Sandy Chuang
            blake.meike Blake Meike
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty