-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Data Storage folder change deletes all data - permission issue #16301
Comments
So far we never reproduced the data lost and yes there is a check. Try to change to the previous folder and your data should be back. |
I can confirm that this also happened to me once the first time when changing from data to obb. I was able to change back and my data was still there. If it is not reproducible, there must be some other factors which let to my situation, which I do not know anymore. So the issue can be closed in that case since at least other users should normally not come into my situation in that case and this was the reason I created the issue. |
Oh yes, also other users did come to your situation and lose all data. Exactly what happened and described in my (closed) case #16043. |
Maybe this check needs to be improved then? For example copy a (dummy) file, then try to read it (and ideally check the size or checksum). Only if this is successful then start to copy the data. Yes, sounds a little bit exaggerated but it seems like the current check is not enough. |
We need to:
|
Indeed we do investigation how did it happen https://github.com/osmandapp/OsmAnd/pull/15186/commits and how we overlooked in code review / testing. I'm sorry it happened and caused the lost of user data, we will proceed with urgent fix. |
Thank you very much :) |
OsmAnd~ 4.4.0#14157mqta, released: 2023-02-07 When transferring files to another folder, if there is not enough space in the import folder or not all files have been transferred, an error is displayed informing you that there is not enough space in the folder and that all files could not be transferred. |
@frederikb96 can you confirm? |
I do not know since this is a different szenario |
Description
If changing the data storage folder from the default one to a manual folder and confirming the move action, all your data gets deleted if you have not the correct permission to access the new folder.
How to reproduce?
Your Environment
OsmAnd Version: 4.3.5
Android/iOS version: 12
Device model: FP4
The text was updated successfully, but these errors were encountered: