You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Killing the app leaves uploads in an inconsistent state #1500
For the moment automatic retries are only for instant uploads, when WiFi is recovered. We explicitly disabled that retry to limit the scope of this user story / pull request. So, that part is intended.
The message "UNKNOWN" seems confusing, not just for you. so we'll change it.
Any proposal? "App was killed", "Unexpected interruption", "WTF" ?
I have set just "Error uploading" as the error message because a more specific message would not be meaningful for a common user.
Also I have updated the failed section label in order to make clear the action for manually retry, while currently all failed uploads can be retried.
OK. Let's add an specific value for app killed to UploadResult, and a message associated to it - "App was terminated". The value needs to be set in the database in the method UploadsStorageManager.failInProgressUploads instead of UploadResult.UNKNOWN.
Then, let's rollback the message for UNKOWN result to "Unknown error".
Let's keep the additional (TAP TO RETRY) in the header and see what others think about it.
Activity
davivel commentedon Mar 9, 2016
Now solved in #1493, ready to test @jesmrec
davivel commentedon Mar 16, 2016
For the moment automatic retries are only for instant uploads, when WiFi is recovered. We explicitly disabled that retry to limit the scope of this user story / pull request. So, that part is intended.
The message "UNKNOWN" seems confusing, not just for you. so we'll change it.
Any proposal? "App was killed", "Unexpected interruption", "WTF" ?
AndyScherzinger commentedon Mar 16, 2016
app was terminated
davivel commentedon Mar 17, 2016
OK, let's update with one of those. Probably @AndyScherzinger's proposal is more formal.
malkomich commentedon Mar 18, 2016
I have set just "Error uploading" as the error message because a more specific message would not be meaningful for a common user.
Also I have updated the failed section label in order to make clear the action for manually retry, while currently all failed uploads can be retried.
davivel commentedon Mar 18, 2016
OK. Let's add an specific value for app killed to UploadResult, and a message associated to it - "App was terminated". The value needs to be set in the database in the method
UploadsStorageManager.failInProgressUploadsinstead ofUploadResult.UNKNOWN.Then, let's rollback the message for UNKOWN result to "Unknown error".
Let's keep the additional (TAP TO RETRY) in the header and see what others think about it.
nasli commentedon Mar 18, 2016
Ok, the new message shown: "App was terminated" 👍