Uploaded image for project: 'Nuxeo Studio'
  1. Nuxeo Studio
  2. NXS-1334

On collab mode editor hangs on refresh in case of network outage

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.9
    • Component/s: None

      Description

      When network is down between Studio client and collab server (but Studio server is reachable)
      Refreshing an editor page fails, the editor area stay blank waiting to be rendered, moving to other editor
      raised js error.

      A work around is to refresh the page on a non editor page (welcome page/list of schemas ...)

      This is because the lock message is queued while the connection is not yet initialized, then the collab mode is disable because of
      network outage (or because collab server is down):

      POST ....
      vertx creating event bus: http://localhost:8180/eventbus
      Message sent to 'project.' while channel was disconnected: {"action":"lock", "force":false,"projectid":"foo", "featureid":"ze.ds","sessionid":6,"userid":"ben"}
      GET http://localhost:8180/eventbus/info
      Websocket failing to establish connection, give up collab mode, bye.
      

      At least navigating to other location should work without errors.

        Attachments

          Activity

            People

            • Assignee:
              bdelbosc Benoit Delbosc
              Reporter:
              bdelbosc Benoit Delbosc
              Participants:
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 3 hours
                3h
                Remaining:
                Remaining Estimate - 3 hours
                3h
                Logged:
                Time Spent - Not Specified
                Not Specified