You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The first stack viewer opens fine, but when opening a second one for e.g., a XZ view in the Octo volume, we get a black canvas and the error:
catmaid.964ae4df2124.js:5284 WebSocket connection to 'wss://neurophyla.mrc-lmb.cam.ac.uk/catmaid/fibsem/channels/updates/' failed: Error during WebSocket handshake: Unexpected response code: 404
Client.refreshBackChannel @ catmaid.964ae4df2124.js:5284
catmaid.964ae4df2124.js:5294 There was an error establishing WebSockets connections. Falling back to long polling.
The text was updated successfully, but these errors were encountered:
Not noticing bind() here caused issued #2290. To avoid
something similar in the future, arrow functions are now used. This
makes the handler readable and doesn't "magically" add parameters. The
additional closure isn't a problem.
This is fixed now in dev. I introduced this bug recently accidentally when adding an additional parameter to a function used for opening stacks. This function is used by the UI directly as click handler in the menu using bind(). As a consequence additional wrong parameters were passed down to this function. I fixed this by adding the new parameter explicitly and replaced bind() with arrow functions.
The first stack viewer opens fine, but when opening a second one for e.g., a XZ view in the Octo volume, we get a black canvas and the error:
The text was updated successfully, but these errors were encountered: