You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Deleted an installation in the database and it gets into a state where nothing works and it doesn't seem to be a way to get out of it.
The InstallationController never checks for server changes to object, so save() just fails since the local object has an id. And beyond cleaning the cache keys manually out of storage, there is no way to reset the installation locally.
Steps to reproduce
Save the current installation
Delete it via Parse Dashboard
Try to get the current installation and save it.
Approach
Parse Installation in the iOS SDK and this SDK should have similar functionaility.
🚀 You can help us to fix this issue faster by opening a pull request with a failing test. See our Contribution Guide for how to make a pull request, or read our New Contributor's Guide if this is your first time contributing.
New Issue Checklist
Issue Description
Deleted an installation in the database and it gets into a state where nothing works and it doesn't seem to be a way to get out of it.
The InstallationController never checks for server changes to object, so save() just fails since the local object has an id. And beyond cleaning the cache keys manually out of storage, there is no way to reset the installation locally.
Steps to reproduce
Approach
Parse Installation in the iOS SDK and this SDK should have similar functionaility.
Installations cannot be deleted
We always want [currentInstallation fetch] to succeed.
We always want [currentInstallation save] to succeed.
Actual Outcome
The cache has a mismatch with the server and fails.
Expected Outcome
Should properly save, fetch the installation always.
The text was updated successfully, but these errors were encountered: