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:23 UTC
[zeppelin] 01/01: Revert "[ZEPPELIN-5701] Correct homeNote"
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,