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
I believe the issue here stems, at least in part, from the user deletion process. In each client test case, the test user is removed and then added again. On the server, when a user is removed Upload records are removed, but currently, DeferredUpload records are not removed.
The problem in the Uploader (see above) occurs because an Upload record with a specific deferredUploadId could not be found. This can occur because the Uploader fetches (in its correct operation) DeferredUpload records with status = pendingDeletion across users-- even users that have been deleted. It then tries to lookup Upload records for those DeferredUpload's. However, for deleted users, those Upload records have been deleted.
I'm putting in a fix for this bug and #8 by deleting DeferredUpload records for the user when the user is deleted. I'm going to leave both of these open for a while because this issue is hard to reproduce and I want to try to make sure it's solved.
In the server log, I'm getting: failedToGetDeferredUploads.
I started noticing this after running some iOSBasics tests, and one of them was consistently failing.
Here are the basics in the server log:
The text was updated successfully, but these errors were encountered: