Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix initial listener not triggering for query-based listeners #6236

Merged
merged 3 commits into from
Oct 22, 2018

Conversation

cmelchior
Copy link
Contributor

@cmelchior cmelchior commented Oct 18, 2018

Closes #6235

This bug caused the INITIAL callback from Object Store to never trigger for Query-based Realms. For devices that only created a query, this could mean they never saw the callback until the device came online as that caused a write from the server triggering the listener again.

From the perspective of the user they still got the INITIAL callback, but only for the 2nd callback from Object Store.

@cmelchior cmelchior self-assigned this Oct 18, 2018
@cmelchior cmelchior requested a review from nhachicha October 18, 2018 23:09
@cmelchior cmelchior changed the base branch from master to releases October 18, 2018 23:09
@realm-probot
Copy link

realm-probot bot commented Oct 18, 2018

Hey - looks like you forgot to add a T:* label - could you please add one?

## 5.7.1 (YYYY-MM-DD)

### Fixes
* `RealmResults` listeners not triggering the initial callback for Query-based Realm when the device is offline [#6235](https://github.com/realm/realm-java/issues/6235).
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since when?

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 15, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants