You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@airavata.apache.org by "Marcus Christie (Jira)" <ji...@apache.org> on 2022/04/21 20:48:00 UTC
[jira] [Commented] (AIRAVATA-3610) File not displaying in storage after uploading with tus
[ https://issues.apache.org/jira/browse/AIRAVATA-3610?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17526078#comment-17526078 ]
Marcus Christie commented on AIRAVATA-3610:
-------------------------------------------
Design of changes to Uppy.vue:
- when [upload|https://uppy.io/docs/uppy/#upload] starts, set a count of files being uploaded
- when [upload-success|https://uppy.io/docs/uppy/#upload-success] is fired (per file) and completely handled, decrement the count of files being uploaded
-- when count gets to 0, emit upload-finished event from Uppy component
- also decrement upload count when [upload-error|https://uppy.io/docs/uppy/#upload-error]
> File not displaying in storage after uploading with tus
> -------------------------------------------------------
>
> Key: AIRAVATA-3610
> URL: https://issues.apache.org/jira/browse/AIRAVATA-3610
> Project: Airavata
> Issue Type: Task
> Components: Django Portal
> Reporter: Marcus Christie
> Assignee: Marcus Christie
> Priority: Major
>
> The tus upload finishes and the storage view refreshes but the endpoint that moves the file into the user's storage space from tus storage hasn't completed yet. So the refreshed view doesn't show the newly uploaded file even though it is there.
> The storage view should not refresh until all tus uploads have been fully processed and moved into user storage.
--
This message was sent by Atlassian Jira
(v8.20.7#820007)