Menu

#803 New Untitled File not synchronized

None
closed-migrated
nobody
consistency (1)
3
2018-03-27
2013-04-24
No

Session with 2 participants (host:Alice, Boob).

  • Bob right-clicks on the project, and goes to "New"->"Other"->"New Untitled File"
  • Bob enters some text into the file and saves it.
  • The file is shared and Alice receives the file and its contents.

So far so good.

However, if Bob enters more text into the file, Alice doesn't receive these
changes and an inconsistency is detected.

Discussion

  • Stefan Rossbach

    Stefan Rossbach - 2013-04-24

    Looking at my log files it seems that some components in the editor package fails to handle this case. At least no Jupiter Activities are generated on Bobs side when he edits the file. After performing a recovery new changes are correctly synchronized.

     
  • Stefan Rossbach

    Stefan Rossbach - 2013-04-24

    What actually happens is this:

    You open an editor that has currently no resource (file) attached to it.
    The EditorManager will check this in the partOpened callback and refuses
    further proceeding. The problem is, when you actually save the file there
    is no partOpened event fired and so the EditorManager will not notice the change
    until you reopen the file / editor.

     
  • tobous

    tobous - 2018-03-27
    • Status: open --> closed-migrated
     

Log in to post a comment.

MongoDB Logo MongoDB