Replies: 1 comment 8 replies
-
Hi @jrlaff, this sounds like a bug. I understand that you didn't manage to find precisely when it happens, but if you manage to do so it will be really helpful for us to understand what is going on. Even if it does not happen all the time, having a project with which we can reproduce the error will definitely help. |
Beta Was this translation helpful? Give feedback.
8 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
Using Realm's
CollectionExtensions.SubscribeForNotifications()
to watch for changes in a query results collection, I often receive a change notification with achanges
ChangeSet that contains indexes that are out of the bounds of the collection. It happens quite regularly, but I haven't been able to pinpoint a precise scenario that reproduces the issue.More precisely,
changes
contains, for example, 5NewModifiedIndices
(0, 1, 2, 3, 4) butsender
only contains 4 items. It does not contain any other index (InsertedIndices
andDeletedIndices
are empty).No need to say that accessing the sender using those indices triggers an exception.
How am I supposed to handle this?
Any help appreciated. Thanks.
Beta Was this translation helpful? Give feedback.
All reactions