This is an automated email from the ASF dual-hosted git repository. machristie pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/airavata-django-portal-sdk.git
commit f835ec1c0fd8babc998c67462d9a550a1f92bd1d Author: Marcus Christie <[email protected]> AuthorDate: Thu Jul 29 13:00:34 2021 -0400 AIRAVATA-3420 bug fix: resource_path should be full path --- .../user_storage/backends/django_filesystem_provider.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/airavata_django_portal_sdk/user_storage/backends/django_filesystem_provider.py b/airavata_django_portal_sdk/user_storage/backends/django_filesystem_provider.py index 09bd680..fcb6f73 100644 --- a/airavata_django_portal_sdk/user_storage/backends/django_filesystem_provider.py +++ b/airavata_django_portal_sdk/user_storage/backends/django_filesystem_provider.py @@ -81,7 +81,7 @@ class DjangoFileSystemProvider(UserStorageProvider): { "name": os.path.basename(resource_path), "path": datastore.rel_path(full_path), - "resource_path": datastore.rel_path(full_path), + "resource_path": full_path, "created_time": created_time, "size": size, }
