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

Purging documents does not fire events in a QueryChangeListener

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 2.6.0
    • 2.7.0
    • LiteCore
    • Security Level: Public
    • None
    • CBL Sprint 6, CBL Sprint 7
    • 8

    Description

      Quoting from https://forums.couchbase.com/t/some-unexpected-findings-in-cbl-2-x/23210 :

      Purging documents does not fire events in a QueryChangeListener of a query. Create/Update/Delete events are fired. I believe this changed from 1.x to 2.x. I believe the old LiveQuery received purge events.
      Expected: QueryChangeListener fires when documents are purged.

      Attachments

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

        Activity

          Build couchbase-lite-ios-2.7.0-78 contains couchbase-lite-core commit c33393d with commit message:
          CBL-444 Add a purge count to the database (#879)

          build-team Couchbase Build Team added a comment - Build couchbase-lite-ios-2.7.0-78 contains couchbase-lite-core commit c33393d with commit message: CBL-444 Add a purge count to the database (#879)

          Build couchbase-lite-net-2.7.0-86 contains couchbase-lite-core commit c33393d with commit message:
          CBL-444 Add a purge count to the database (#879)

          build-team Couchbase Build Team added a comment - Build couchbase-lite-net-2.7.0-86 contains couchbase-lite-core commit c33393d with commit message: CBL-444 Add a purge count to the database (#879)

          Build couchbase-lite-net-2.7.0-91 contains couchbase-lite-core commit c33393d with commit message:
          CBL-444 Add a purge count to the database (#879)

          build-team Couchbase Build Team added a comment - Build couchbase-lite-net-2.7.0-91 contains couchbase-lite-core commit c33393d with commit message: CBL-444 Add a purge count to the database (#879)

          Build couchbase-lite-log-2.7.0-79 contains couchbase-lite-core commit c33393d with commit message:
          CBL-444 Add a purge count to the database (#879)

          build-team Couchbase Build Team added a comment - Build couchbase-lite-log-2.7.0-79 contains couchbase-lite-core commit c33393d with commit message: CBL-444 Add a purge count to the database (#879)

          Build couchbase-lite-cblite-2.7.0-5 contains couchbase-lite-core commit c33393d with commit message:
          CBL-444 Add a purge count to the database (#879)

          build-team Couchbase Build Team added a comment - Build couchbase-lite-cblite-2.7.0-5 contains couchbase-lite-core commit c33393d with commit message: CBL-444 Add a purge count to the database (#879)

          People

            jimb Jim Borden
            jens Jens Alfke
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty