Sanity: Interrupted uploads are not removed

Created on 18 Jun 2018  路  1Comment  路  Source: sanity-io/sanity

If the network gets disconnected or the user abruptly closes the browser window during an upload the _upload-metadata on values is not being cleaned up and removed. This can cause dangling upload placeholders that looks like they are in progress, but that will actually never complete.

Note: this does not apply to cancelled uploads, or uploads that for some reason fails when connection is still open.

Bug

Most helpful comment

I suggest we use the reflector to communicate upload status as markers instead of patching documents

>All comments

I suggest we use the reflector to communicate upload status as markers instead of patching documents

Was this page helpful?
0 / 5 - 0 ratings