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

CollectionChangeNotifier.getChanges() prematurely signals end of changes

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • 3.1.3
    • 3.1.0
    • Java, Java-Android
    • Security Level: Public
    • None
    • 1

    Description

      `CollectionChangeNotifier.getChanges()` will return an empty list, when the array returned from C4CollectionObserver.getChanges contains only nulls. This prematurely signals to CollectionChangeNotifier.collectionChanged that LiteCore has no more changes to deliver and it returns, possibly before it has processed all of the changes.

      Attachments

        Issue Links

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

          Activity

            People

              blake.meike Blake Meike
              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