Project

General

Profile

Actions

Bug #3691

closed

[Workbench] Suppress "ajax failed" error messages when ajax fails due to browser navigation event.

Added by Tom Clegg over 9 years ago. Updated about 2 months ago.

Status:
Closed
Priority:
Normal
Assigned To:
-
Category:
Workbench
Target version:
-
Story points:
1.0

Description

In fail callbacks, check jqxhr.readyState and status == 'abort' to determine whether the request was terminated by a user action (like navigating away from the current page) rather than an application/network error.

In this case, correct behavior is something like
  • Show a distinct message like "(cancelled)" that doesn't look like an error, or
  • Don't display anything, just clean up internal state and stop.

Related issues

Has duplicate Arvados - Bug #4776: [Workbench] Pipeline pane load error when opening pipeline from home page in new browser tabClosed12/10/2014Actions
Actions

Also available in: Atom PDF