Importing backup fails if containing non activated data points
Describe the bug Importing backup fails if containing non activated data points
To Reproduce Steps to reproduce the behavior:
- Enable caliper
- Log weight with caliper data
- Export backup
- Try import on blank installation
- Program says imported but nothing is.
Reproduced with latest dev version: 2.5.2 (64)
Expected behavior Import data and activate caliper
Additional context Add any other context about the problem here.
Debug log Attach a debug log (see Settings -> About -> Save debug log to file) that is captured while reproducing the issue.
I can confirm this bug. I added bone mass in precents, and I cannot import backup.
Update: I have tried latest debug version and it worked without a problem. Next I downgraded to last F-Droid version (v2.5.2 64), and tried to import db. First atempt failed but when I activated bone mass and set it to percents it worked! :) I think that I tried this method before with no success, but maybe I am wrong.