This is an automated email from the ASF dual-hosted git repository.
machristie pushed a commit to branch mft-integration
in repository https://gitbox.apache.org/repos/asf/airavata-django-portal-sdk.git
The following commit(s) were added to refs/heads/mft-integration by this push:
new 31d2d07 AIRAVATA-3420 For backwards compat, keep file hidden attribute
31d2d07 is described below
commit 31d2d073137895f6e0e0fec011c2cceb0976f7f9
Author: Marcus Christie <[email protected]>
AuthorDate: Mon Apr 26 16:57:55 2021 -0400
AIRAVATA-3420 For backwards compat, keep file hidden attribute
---
airavata_django_portal_sdk/user_storage/api.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/airavata_django_portal_sdk/user_storage/api.py
b/airavata_django_portal_sdk/user_storage/api.py
index afd8eba..9a45afc 100644
--- a/airavata_django_portal_sdk/user_storage/api.py
+++ b/airavata_django_portal_sdk/user_storage/api.py
@@ -517,6 +517,8 @@ def list_experiment_dir(request, experiment_id, path="",
storage_resource_id=Non
mime_type = data_product.productMetadata['mime-type']
file['data-product-uri'] = data_product_uri
file['mime_type'] = mime_type
+ # TODO: remove this, there's no need for hidden files
+ file['hidden'] = False
return directories, files
else:
raise ObjectDoesNotExist("Experiment data directory does not exist")