zeppelin-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mina...@apache.org
Subject zeppelin git commit: ZEPPELIN-1145 Zeppelin UI fails to load page with HTTP 500 error when user tries to login from dialog box
Date Mon, 18 Jul 2016 18:24:05 GMT
Repository: zeppelin
Updated Branches:
  refs/heads/branch-0.6 c34aaf9f3 -> 4b1e7275e


ZEPPELIN-1145 Zeppelin UI fails to load page with HTTP 500 error when user tries to login
from dialog box

### What is this PR for?
Please look at ZEPPELIN-1145 for detailed steps to reproduce this issue.

### What type of PR is it?
Bug Fix

### What is the Jira issue?
ZEPPELIN-1145

### How should this be tested?
Follow the steps in ZEPPELIN-1145

### Questions:
* Does the licenses files need update? n/a
* Is there breaking changes for older versions? n/a
* Does this needs documentation? n/a

Author: Renjith Kamath <renjith.kamath@gmail.com>

Closes #1156 from r-kamath/ZEPPELIN-1145 and squashes the following commits:

d9c730e [Renjith Kamath] ZEPPELIN-1145 Zeppelin UI fails to load page with HTTP 500 error
when user tries to login from dialog box

(cherry picked from commit 512f0526062ff4204448b76c9b17fbf247138591)
Signed-off-by: Mina Lee <minalee@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/zeppelin/repo
Commit: http://git-wip-us.apache.org/repos/asf/zeppelin/commit/4b1e7275
Tree: http://git-wip-us.apache.org/repos/asf/zeppelin/tree/4b1e7275
Diff: http://git-wip-us.apache.org/repos/asf/zeppelin/diff/4b1e7275

Branch: refs/heads/branch-0.6
Commit: 4b1e7275ea15ea5748e913b9fbf9e5140d549876
Parents: c34aaf9
Author: Renjith Kamath <renjith.kamath@gmail.com>
Authored: Sat Jul 9 12:09:25 2016 +0530
Committer: Mina Lee <minalee@apache.org>
Committed: Tue Jul 19 03:23:58 2016 +0900

----------------------------------------------------------------------
 zeppelin-web/src/app/notebook/notebook.controller.js | 4 ++++
 1 file changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/zeppelin/blob/4b1e7275/zeppelin-web/src/app/notebook/notebook.controller.js
----------------------------------------------------------------------
diff --git a/zeppelin-web/src/app/notebook/notebook.controller.js b/zeppelin-web/src/app/notebook/notebook.controller.js
index b275601..d797d21 100644
--- a/zeppelin-web/src/app/notebook/notebook.controller.js
+++ b/zeppelin-web/src/app/notebook/notebook.controller.js
@@ -93,6 +93,10 @@ angular.module('zeppelinWebApp').controller('NotebookCtrl',
             $('html, body').scrollTo({top: top, left: 0});
           }
 
+          // force notebook reload on user change
+          $scope.$on('setNoteMenu', function(event, note) {
+            initNotebook();
+          });
         },
         1000
       );


Mime
View raw message