superset-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From t...@apache.org
Subject [incubator-superset] branch master updated: hotfix - pass link not error message (#5512)
Date Mon, 30 Jul 2018 22:29:42 GMT
This is an automated email from the ASF dual-hosted git repository.

timi pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-superset.git


The following commit(s) were added to refs/heads/master by this push:
     new 9e67445  hotfix - pass link not error message (#5512)
9e67445 is described below

commit 9e67445c6894736faaade7c221fb028ab6a7c3fd
Author: timifasubaa <30888507+timifasubaa@users.noreply.github.com>
AuthorDate: Mon Jul 30 15:29:36 2018 -0700

    hotfix - pass link not error message (#5512)
    
    * hotfix - pass link not error message
    
    * nit
---
 superset/views/core.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/superset/views/core.py b/superset/views/core.py
index 3dfccbf..ef3ca4d 100755
--- a/superset/views/core.py
+++ b/superset/views/core.py
@@ -1090,7 +1090,8 @@ class Superset(BaseSupersetView):
             return json_error_response(
                 security_manager.get_datasource_access_error_msg(viz_obj.datasource),
                 status=404,
-                link=security_manager.get_datasource_access_error_msg(viz_obj.datasource))
+                link=security_manager.security_manager.get_datasource_error_link(
+                    viz_obj.datasource))
 
         if csv:
             return CsvResponse(


Mime
View raw message