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 2020/07/20 22:48:00 UTC
[jira] [Created] (AIRAVATA-3351) Uploaded file doesn't go into
newly created directory
Marcus Christie created AIRAVATA-3351:
-----------------------------------------
Summary: Uploaded file doesn't go into newly created directory
Key: AIRAVATA-3351
URL: https://issues.apache.org/jira/browse/AIRAVATA-3351
Project: Airavata
Issue Type: Bug
Components: Django Portal
Reporter: Marcus Christie
Assignee: Marcus Christie
Steps to reproduce
# Log into Django Portal
# Portal must not be configured for tus upload (this bug doesn't affect tus uploads)
# Go to /workspace/storage
# Create a new directory
# Navigate to new directory
# Try to upload a file in the new directory
Actual Result
# file uploaded in parent directory
Expected Result
# file uploaded into new directory
The problem is that the xhrUploadEndpoint changes based on the directory one is in but this was only specified on the XHRUpload Uppy plugin when it is initialized. The code fix is to update the XHRUpload configuration as the storage viewer path changes.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)