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

App Crash causes data loss if phone storage is full #273

Open
njogz opened this issue May 24, 2022 · 1 comment
Open

App Crash causes data loss if phone storage is full #273

njogz opened this issue May 24, 2022 · 1 comment
Labels
Type: Bug Fix something that isn't working as intended

Comments

@njogz
Copy link
Contributor

njogz commented May 24, 2022

Describe the bug
It is possible to los app data when trying to sync fi the phone storage is already full

To Reproduce
Steps to reproduce the behavior:

  1. Fill up the phone storage to near capacity
  2. Upload more docs to the server
  3. Try to sync and download the additional documents
  4. See error

Expected behavior
No loss of data whtsoever. The app should warn you before syncing if phone storage is full

Logs
#170 (comment)

Screenshots
If applicable, add screenshots to help explain your problem.

Environment

  • Instance: local
  • Android Version: 9
  • App Version: (eg: 0.7.3, 0.9.0, etc)

Additional context
#170

@njogz njogz added the Type: Bug Fix something that isn't working as intended label May 24, 2022
@jkuester
Copy link
Contributor

Clarifying question: is there actual data loss here in the sense that data that only exists on the phone is lost, gone, and not synced to the server?

Maybe I am misunderstanding things, but it seems like the issue being described is that the data exists on the server, but there is not enough room to sync them to the phone so the sync errors out and the new data from the server is not actually stored on the phone (but no data is really "lost" since it is still on the server...). Sorry if I am just misunderstanding things here but "data loss" sounds really scary to me and I want to understand if that is what is really happening here or if we are just failing to sync data from the server...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Fix something that isn't working as intended
Projects
None yet
Development

No branches or pull requests

2 participants