plees-tracker
plees-tracker copied to clipboard
Sleep data prior to 2022-08-16 vanished / disappears in `0.7.4`
Reproducer steps
- (optional) have many months of sleep data
- install/upgrade to
0.7.4(F-Droid) - (optional) if install was fresh, try add a sleep data point with a date prior to
2022-08-16
Actual result
Any sleep data before 2022-08-16 does not appear in main screen, nor any stats or graphs.
Expected behavior Sleep data should be present as usual.
Extra Notes:
- I tried restoring an older backup into the app (from an old phone), received an error message
File version could not be synced...(couldn't catch it all since it only appeared briefly). - I updated my old phone with pre-
2022-08-16data in it and it is empty / shows no data. I then reverted the app version to0.7.3and re-imported it's own backup, and the data showed up again. - On trying to add an sleep event in the past (pre-
2022-8-16), the data will not appear, however it seems new sleeps are still tracked with the sameSleep #nnnnumber, while my app only shows 7 data points, the Sleep # is in the hundreds (as it should be). - I backed up data again after upgrading to
0.7.4where the pre-2022-8-16data has disappeared, and all the data is still present in thebackup.csv, so it appears that no data loss has occurred, which is good.
Hm, 2022-08-16 was about a week ago, is this just a matter of going to the settings activity and then setting dashboard -> duration to something other than "last week"?
You are right, the duration was set to "last week". Perhaps the update changed it since I don't remember changing the option myself.
Thanks for the quick find! (I saw this shortly after you replied but forgot to reply here)