You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by ma...@apache.org on 2019/07/19 19:51:40 UTC
[airavata-django-portal] branch master updated (6994051 -> 79a73ce)
This is an automated email from the ASF dual-hosted git repository.
machristie pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/airavata-django-portal.git.
from 6994051 Custom error pages
new 3f32e95 Fix "Cannot read property 'length' of null" error
new 79a73ce Include request information with frontend errors
The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
django_airavata/apps/api/views.py | 2 +-
.../django_airavata_workspace/js/containers/DashboardContainer.vue | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)
[airavata-django-portal] 01/02: Fix "Cannot read property 'length'
of null" error
Posted by ma...@apache.org.
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.git
commit 3f32e95bce56f22361165f45e91a1d2ae0c53752
Author: Marcus Christie <ma...@apache.org>
AuthorDate: Fri Jul 19 15:51:17 2019 -0400
Fix "Cannot read property 'length' of null" error
---
.../django_airavata_workspace/js/containers/DashboardContainer.vue | 1 +
1 file changed, 1 insertion(+)
diff --git a/django_airavata/apps/workspace/static/django_airavata_workspace/js/containers/DashboardContainer.vue b/django_airavata/apps/workspace/static/django_airavata_workspace/js/containers/DashboardContainer.vue
index ef5c95f..a7c05de 100644
--- a/django_airavata/apps/workspace/static/django_airavata_workspace/js/containers/DashboardContainer.vue
+++ b/django_airavata/apps/workspace/static/django_airavata_workspace/js/containers/DashboardContainer.vue
@@ -136,6 +136,7 @@ export default {
return (
this.isNewUser &&
this.userProfile &&
+ this.accessibleAppModules &&
this.accessibleAppModules.length === 0
);
},
[airavata-django-portal] 02/02: Include request information with
frontend errors
Posted by ma...@apache.org.
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.git
commit 79a73cee2797ef2b3948c80bef720b37dbb2d5a4
Author: Marcus Christie <ma...@apache.org>
AuthorDate: Fri Jul 19 15:51:32 2019 -0400
Include request information with frontend errors
---
django_airavata/apps/api/views.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/django_airavata/apps/api/views.py b/django_airavata/apps/api/views.py
index 386c294..ab4420e 100644
--- a/django_airavata/apps/api/views.py
+++ b/django_airavata/apps/api/views.py
@@ -1693,7 +1693,7 @@ class LogRecordConsumer(APIView):
"Frontend error: {}: {}\nstacktrace: {}".format(
log_record['message'],
json.dumps(log_record['details'], indent=4),
- stacktrace))
+ stacktrace), extra={'request': request})
return Response(serializer.data)