You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@zeppelin.apache.org by pd...@apache.org on 2022/03/31 08:18:22 UTC

[zeppelin] branch revert-4337-bugfix_homepage created (now dcf6138)

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

pdallig pushed a change to branch revert-4337-bugfix_homepage
in repository https://gitbox.apache.org/repos/asf/zeppelin.git.


      at dcf6138  Revert "[ZEPPELIN-5701] Correct homeNote"

This branch includes the following new commits:

     new dcf6138  Revert "[ZEPPELIN-5701] Correct homeNote"

The 1 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.


[zeppelin] 01/01: Revert "[ZEPPELIN-5701] Correct homeNote"

Posted by pd...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

pdallig pushed a commit to branch revert-4337-bugfix_homepage
in repository https://gitbox.apache.org/repos/asf/zeppelin.git

commit dcf6138ca956f3b2ab6912e092caa1af10a55bb2
Author: Philipp Dallig <ph...@gmail.com>
AuthorDate: Thu Mar 31 10:18:16 2022 +0200

    Revert "[ZEPPELIN-5701] Correct homeNote"
---
 .../src/main/java/org/apache/zeppelin/service/NotebookService.java      | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/zeppelin-server/src/main/java/org/apache/zeppelin/service/NotebookService.java b/zeppelin-server/src/main/java/org/apache/zeppelin/service/NotebookService.java
index 2e98031..dfc75eb 100644
--- a/zeppelin-server/src/main/java/org/apache/zeppelin/service/NotebookService.java
+++ b/zeppelin-server/src/main/java/org/apache/zeppelin/service/NotebookService.java
@@ -103,7 +103,7 @@ public class NotebookService {
   public String getHomeNote(ServiceContext context,
                           ServiceCallback<Note> callback) throws IOException {
     String noteId = notebook.getConf().getString(ZEPPELIN_NOTEBOOK_HOMESCREEN);
-    if (StringUtils.isBlank(noteId)) {
+    if (noteId != null) {
       callback.onSuccess(null, context);
     } else {
       notebook.processNote(noteId,