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 for crash when Core Data is empty #8

Merged
merged 1 commit into from Mar 16, 2020

Conversation

thorfroelich
Copy link
Contributor

This PR fixes a crash due to:

Fatal Exception: NSInvalidArgumentException
cannot access fetched objects before -performFetch:

when querying a data source backed by an empty Core Data context. It also adds unit tests to verify the fix and prevent regressions.

Copy link
Contributor

@heiberg heiberg left a comment

Choose a reason for hiding this comment

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

Awesome! Thanks!

@heiberg heiberg merged commit 5538aea into Squarespace:master Mar 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants