You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by at...@apache.org on 2018/06/22 15:34:12 UTC

[ambari] branch trunk updated: AMBARI-24170 Test Connection button not working in Database Tab

This is an automated email from the ASF dual-hosted git repository.

atkach pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ambari.git


The following commit(s) were added to refs/heads/trunk by this push:
     new b3fc86d  AMBARI-24170 Test Connection button not working in Database Tab
b3fc86d is described below

commit b3fc86d3b7dbca42839109ab507ee21d308a66fe
Author: Andrii Tkach <at...@apache.org>
AuthorDate: Fri Jun 22 16:58:34 2018 +0300

    AMBARI-24170 Test Connection button not working in Database Tab
---
 .../app/views/common/configs/widgets/test_db_connection_widget_view.js  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ambari-web/app/views/common/configs/widgets/test_db_connection_widget_view.js b/ambari-web/app/views/common/configs/widgets/test_db_connection_widget_view.js
index ba3764f..b47aed0 100644
--- a/ambari-web/app/views/common/configs/widgets/test_db_connection_widget_view.js
+++ b/ambari-web/app/views/common/configs/widgets/test_db_connection_widget_view.js
@@ -297,7 +297,7 @@ App.TestDbConnectionWidgetView = App.ConfigWidgetView.extend({
         ['db_user', 'db_password', 'db_name', 'ranger.jpa.jdbc.url', 'ranger.jpa.jdbc.driver'] :
         ['db_user', 'db_password', 'db_name', 'ranger_jdbc_connection_url', 'ranger_jdbc_driver']
     };
-    return propertiesMap[this.get('parentView.service.serviceName')];
+    return propertiesMap[this.get('parentView.content.serviceName')];
   }.property(),
 
   getConnectionProperty: function (regexp, isGetName) {