Repository: zeppelin
Updated Branches:
  refs/heads/master ddce5fe0b -> bc8e190f9


[ZEPPELIN-2049 : z0.7.1] Note name is gone when switch to personal mode

### What is this PR for?
Note name is gone when switch to personal mode
There was a part of the note name that was missing processing.
So, I fixed it.

### What type of PR is it?
Bug Fix - 0.7.1 related

### What is the Jira issue?
https://issues.apache.org/jira/browse/ZEPPELIN-2049

### How should this be tested?
You can personalized mode.
and then plase refresh note view.
and check to note name.

### Screenshots (if appropriate)
#### before(problem)
![screenshot](https://issues.apache.org/jira/secure/attachment/12850799/record.gif)

#### after (resolved)
![personal](https://cloud.githubusercontent.com/assets/10525473/23093214/31f0b0a6-f620-11e6-89ce-fabafa7c0000.gif)

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

Author: CloverHearts <cloverhearts...@gmail.com>

Closes #2035 from cloverhearts/ZEPPELIN-2049 and squashes the following commits:

eefd7fb [CloverHearts] missing get note name


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

Branch: refs/heads/master
Commit: bc8e190f90b345f9772b81a21761e2ff656a2036
Parents: ddce5fe
Author: CloverHearts <cloverhearts...@gmail.com>
Authored: Sat Feb 18 21:04:31 2017 +0900
Committer: Lee moon soo <m...@apache.org>
Committed: Sun Feb 19 23:31:00 2017 +0900

----------------------------------------------------------------------
 .../src/main/java/org/apache/zeppelin/notebook/Note.java            | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/zeppelin/blob/bc8e190f/zeppelin-zengine/src/main/java/org/apache/zeppelin/notebook/Note.java
----------------------------------------------------------------------
diff --git 
a/zeppelin-zengine/src/main/java/org/apache/zeppelin/notebook/Note.java 
b/zeppelin-zengine/src/main/java/org/apache/zeppelin/notebook/Note.java
index c4b194b..62ded18 100644
--- a/zeppelin-zengine/src/main/java/org/apache/zeppelin/notebook/Note.java
+++ b/zeppelin-zengine/src/main/java/org/apache/zeppelin/notebook/Note.java
@@ -715,6 +715,7 @@ public class Note implements Serializable, 
ParagraphJobListener {
    */
   public Note getUserNote(String user) {
     Note newNote = new Note();
+    newNote.name = getName();
     newNote.id = getId();
     newNote.config = getConfig();
     newNote.angularObjects = getAngularObjects();

Reply via email to