Skip to content
This repository has been archived by the owner on Jun 2, 2018. It is now read-only.

Reset sql stack #32

Closed
bitomule opened this issue Oct 15, 2015 · 5 comments
Closed

Reset sql stack #32

bitomule opened this issue Oct 15, 2015 · 5 comments
Labels

Comments

@bitomule
Copy link

I'm using resetSQLiteStore method but when I run any context save after that it crashes saying that there's no persistent coordinator present. Calling resetSQLiteStore and then creating a new stack fixes the problem.

Any ideas?

@rcedwards
Copy link
Contributor

@bitomule I will take a look at the issue you are experiencing.

Was this while using the latest released version? https://github.com/bignerdranch/CoreDataStack/releases/tag/v0.3.1

We are currently working on some improvements to the stack reset that should be cut into a release shortly. This would include a fix to a potential crash in stack reset #22

@rcedwards
Copy link
Contributor

@bitomule There was a bug there when recreating the stack after reseting the old store.

There is a PR up now #33 and we'll release a new pod version shortly. Thanks

@bitomule
Copy link
Author

Great! Thanks! When are you pushing the pods version?

@bitomule
Copy link
Author

Installed from moc branch and works without issues. Hope it's merged to master and pushed to cocoapods soon.

@rcedwards
Copy link
Contributor

Fixed in 1.0.0 #36

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants