Renxia Wang created ZEPPELIN-182:
------------------------------------

             Summary: Broadcast the Note's Info to a client Is Not Working when 
Creating a New Note
                 Key: ZEPPELIN-182
                 URL: https://issues.apache.org/jira/browse/ZEPPELIN-182
             Project: Zeppelin
          Issue Type: Bug
          Components: Core
    Affects Versions: 0.6.0
            Reporter: Renxia Wang


https://github.com/apache/incubator-zeppelin/blob/master/zeppelin-server/src/main/java/org/apache/zeppelin/socket/NotebookServer.java

The following issues happen when I interacting with Zeppelin by websocket only, 
not GUI. 

When a NEW_NOTE message is received via websocket, the createNote() is called, 
then inside this function the broadcastNote() is called to broadcast the new 
node info to the client which sends the NEW_NOTE message. 

However, in order to broadcast this information to the client, the 
addConnectionToNote() should have been executed so that the new note id exists 
in the noteSocketMap. But currently it is not. No information of the new note 
is sent to the client. 

This issue also exists in the NOTE_UPDATE. 

One question: Why should broadcastNoteList() be included when creating a new 
note book? I am using the websocket to programmatically create note book, 
returning the new note info is much more useful than returning the note list. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to