akvo / akvo-flow-mobile

Akvo Flow app
GNU General Public License v3.0
18 stars 16 forks source link

Downloading datapoints fails in some cases #1795

Closed valllllll2000 closed 2 years ago

valllllll2000 commented 3 years ago

Describe the bug Sometimes user can get "Assignment missing" error even if there is an assignment

To Reproduce Steps to reproduce the behavior:

  1. Assign all datapoint to device
  2. Download all datapoints on device
  3. Un assign datapoints and assign specific ones
  4. Try download datapoints
  5. See there is the error message

Expected behavior Download datapoints correctly

For now the workaround is to delete submitted data and redownload. The problem is the cursor becomes invalid in this case and the error should be specific but we get 404 same as for Assignment Missing so it's hard to distinguish them but in this case we should try deleting the cursor and retry the download on the device

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.