Changing a Query's parameters should re-notify observers

Description

When parameters are changed on Query that has observers, the query should, immediately, be re-run and all observers notified of the new results.

I am labeling this as critical, because moving to LiteCore QueryObservers will cause current dev-tests to fail, on all platforms. We can comment them out / @Ignore them so it is not actually blocking implementation...

Activity

Show:

Pasin Suriyentrakorn October 14, 2021 at 7:56 PM

Unit Test:

Pasin Suriyentrakorn October 14, 2021 at 4:55 AM

CBL-C is already using C4QueryObserver so this is a bug for CBL-C. I need to change this issue to Lithium and if we can't fix it in Lithium, at least it could be in a known issue list.

Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Story Points

Components

Sprint

Fix versions

Affects versions

Priority

Instabug

Open Instabug

PagerDuty

Sentry

Zendesk Support

Created October 13, 2021 at 6:14 PM
Updated August 31, 2024 at 10:54 AM
Resolved October 25, 2021 at 10:55 PM
Instabug