-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
Expected results
Prior to v13.11.0 calling Results.snapshot() on a Results from a collection of object would snapshot the results so that they would be usable even if the collection got deleted.
Actual Results
When you delete a collection accessing Results.size() fails, even if snapshot() was called prior to the deletion. This change was introduced by this commit.
Steps & Code to Reproduce
This change caused a failure in the realm-js tests. If the behavior change in core is correct, we can change the tests to reflect this, but we want to be sure that we aren't just papering over a user-facing breaking change in core.
Core version
Core version: v13.11.0
- is depended on by
-
RJS-2358 Figure out what to do about "Lists - supports snaphots" test.
- Closed