Skip to content

Conversation

mcollovati
Copy link
Collaborator

Makes sure that transfer progress listeners are notified also for DownloadResponse.error return value and unchecked exception thrown by InputStreamDownloadCallback.

Fixes #21931

Makes sure that transfer progress listeners are notified also
for DownloadResponse.error return value and unchecked exception
thrown by InputStreamDownloadCallback.

Fixes #21931
Copy link

sonarqubecloud bot commented Aug 6, 2025

Copy link

github-actions bot commented Aug 6, 2025

Test Results

1 237 files  ± 0  1 237 suites  ±0   1h 14m 57s ⏱️ + 1m 36s
8 499 tests + 2  8 439 ✅ + 2  60 💤 ±0  0 ❌ ±0 
8 905 runs  +41  8 836 ✅ +40  69 💤 +1  0 ❌ ±0 

Results for commit 4b8cd49. ± Comparison against base commit 6ced5a6.

This pull request removes 2 and adds 4 tests. Note that renamed tests count towards both.
com.vaadin.flow.server.streams.InputStreamDownloadHandlerTest ‑ transferProgressListener_addListener_callbackErrorOccured_errorlistenerInvoked
com.vaadin.flow.server.streams.InputStreamDownloadHandlerTest ‑ transferProgressListener_addListener_errorOccured_errorlistenerInvoked
com.vaadin.flow.server.streams.InputStreamDownloadHandlerTest ‑ transferProgressListener_addListener_callbackIOExceptionOccurred_errorListenerInvoked
com.vaadin.flow.server.streams.InputStreamDownloadHandlerTest ‑ transferProgressListener_addListener_callbackResponseError_errorListenerInvoked
com.vaadin.flow.server.streams.InputStreamDownloadHandlerTest ‑ transferProgressListener_addListener_callbackUncheckedExceptionOccurred_errorListenerInvoked
com.vaadin.flow.server.streams.InputStreamDownloadHandlerTest ‑ transferProgressListener_addListener_errorOccurred_errorListenerInvoked

@mshabarov mshabarov merged commit 8bfe7ab into main Aug 6, 2025
27 checks passed
@mshabarov mshabarov deleted the issues/21931-notify_listener_for_downloadresponse_error branch August 6, 2025 10:39
vaadin-bot pushed a commit that referenced this pull request Aug 6, 2025
…1994)

Makes sure that transfer progress listeners are notified also
for DownloadResponse.error return value and unchecked exception
thrown by InputStreamDownloadCallback.

Fixes #21931
vaadin-bot pushed a commit that referenced this pull request Aug 6, 2025
…1994)

Makes sure that transfer progress listeners are notified also
for DownloadResponse.error return value and unchecked exception
thrown by InputStreamDownloadCallback.

Fixes #21931
vaadin-bot added a commit that referenced this pull request Aug 6, 2025
…1994) (#21996)

Makes sure that transfer progress listeners are notified also
for DownloadResponse.error return value and unchecked exception
thrown by InputStreamDownloadCallback.

Fixes #21931

Co-authored-by: Marco Collovati <marco@vaadin.com>
vaadin-bot added a commit that referenced this pull request Aug 6, 2025
…1994) (#21995)

Makes sure that transfer progress listeners are notified also
for DownloadResponse.error return value and unchecked exception
thrown by InputStreamDownloadCallback.

Fixes #21931

Co-authored-by: Marco Collovati <marco@vaadin.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

DownloadHandler::whenComplete not called on error
3 participants