[ambari] branch branch-2.7 updated: AMBARI-25158 Dashboard is unable to load . Common console error : "SEVERE TypeError: widgetGroups is undefined"

2019-02-19 Thread atkach
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/branch-2.7 by this push:
 new c77eba2  AMBARI-25158 Dashboard is unable to load . Common console 
error : "SEVERE TypeError: widgetGroups is undefined"
c77eba2 is described below

commit c77eba2b3ec181457e914f4cb872ef0d42f9e5b7
Author: Andrii Tkach 
AuthorDate: Tue Feb 19 16:46:26 2019 +0200

AMBARI-25158 Dashboard is unable to load . Common console error : "SEVERE 
TypeError: widgetGroups is undefined"
---
 ambari-web/app/views/main/dashboard/widgets.js | 1 +
 1 file changed, 1 insertion(+)

diff --git a/ambari-web/app/views/main/dashboard/widgets.js 
b/ambari-web/app/views/main/dashboard/widgets.js
index bcc219f..c6001e4 100644
--- a/ambari-web/app/views/main/dashboard/widgets.js
+++ b/ambari-web/app/views/main/dashboard/widgets.js
@@ -171,6 +171,7 @@ App.MainDashboardWidgetsView = Em.View.extend(App.Persist, 
App.LocalStorage, App
 }
 this.loadWidgetsSettings().complete(() => {
   this.get('widgetGroupsDeferred').done(() => {
+if (this.get('isDestroyed')) return;
 this.checkServicesChange();
 this.renderWidgets();
 this.set('isDataLoaded', true);



[ambari] branch trunk updated (2bd65e8 -> 3dbaaba)

2019-02-19 Thread alexantonenko
This is an automated email from the ASF dual-hosted git repository.

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


from 2bd65e8  AMBARI-25150 Implement additional error reporting for 
ambari-web unit tests. (ababiichuk)
 new bd1bd59  AMBARI-25149. Cover all not covered common views
 new 57d6137  Merge branch 'trunk' into AMBARI-25149-trunk
 new a26febf  AMBARI-25139. Cover all not covered common views
 new 3dbaaba  Merge pull request #2817 from hiveww/AMBARI-25149-trunk

The 24547 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:
 ambari-web/app/assets/test/tests.js|   4 +
 ambari-web/app/views/common/log_tail_view.js   |   1 -
 .../views/common/log_search_ui_link_view_test.js   |  66 +
 ambari-web/test/views/common/log_tail_view_test.js | 316 +
 .../not-scrollable-textarea_test.js}   |  40 +--
 .../test/views/common/service_restart_view_test.js |  97 +++
 6 files changed, 506 insertions(+), 18 deletions(-)
 create mode 100644 ambari-web/test/views/common/log_search_ui_link_view_test.js
 create mode 100644 ambari-web/test/views/common/log_tail_view_test.js
 copy ambari-web/test/views/{main/dashboard/widgets/namenode_heap_test.js => 
common/not-scrollable-textarea_test.js} (54%)
 create mode 100644 ambari-web/test/views/common/service_restart_view_test.js