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
After an endpoint request is cancelled programmatically using AbortController.abort(reason), the builtin Vaadin connection indicator erroneously shows ”Connection lost” status.
Note: aborting without a specific reason works correctly.
Expected Behavior
Cancelling an endpoint request manually should not affect the connection indicator status.
Detecting and handling signal.reason should help.
From the loading indicator, an aborted request should be considered finished successfully.
I tried to reproduce in both Chrome and Firefox, but unsuccessfully. By the way, AbortController has no cancel method, it's abort. I tried with both an endpoint method that returns immediately and one that takes time so that the cancellation happens.
Describe the bug
After an endpoint request is cancelled programmatically using
AbortController.abort(reason)
, the builtin Vaadin connection indicator erroneously shows ”Connection lost” status.Note: aborting without a specific reason works correctly.
Expected Behavior
Cancelling an endpoint request manually should not affect the connection indicator status.
Detecting and handling
signal.reason
should help.From the loading indicator, an aborted request should be considered finished successfully.
Reproduction
System Info
Vaadin 24.6
The text was updated successfully, but these errors were encountered: