EyeSeeTea / pictureapp

Mobile application designed to report cases of malaria (to a DHIS2 server)
GNU General Public License v3.0
4 stars 4 forks source link

When sync process is interrupted the record turns "red" instead of "orange" #2417

Closed ifoche closed 5 years ago

ifoche commented 5 years ago

Alpha tester report:

I interrupted the synchronisation of a record voluntarily. The record turned "red" when I would expect it to turn "orange" and attempt synchronisation again at a later stage.

Note that in some cases (most?) it turns "orange" as expected, but it sometimes does not and the user cannot know whether the record has been properly synchronised or not.

See here

ifoche commented 5 years ago

Ok, we have more information:

1) First, the DB for that exact use case 2) The answer from the server 3) The way the sync process was interrupted was by changing into flight mode the phone in the middle of the sync process. Apparently, it doesn't always happen, but if at some specific point you move to flight mode then you can get a red color (so error status) for the survey, so looks like quarantine is not properly doing its job