Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: allow null response in logout (#20057) (CP: 24.5) #20112

Merged
merged 1 commit into from
Oct 2, 2024

Conversation

vaadin-bot
Copy link
Collaborator

No description provided.

Don't throw NullPointerException in case of null VaadinServletResponse in AuthenticationContext#logout.
Tolerate null response better in case when running with @Push(transport = Transport.WEBSOCKET), or when response is null for some other reason.
Makes logout also work in WEBSOCKET mode by automatically switching to WEBSOCKET_XHR for one additional request that executes logout.

Fixes: #20017
Copy link

sonarcloud bot commented Oct 2, 2024

@vaadin-bot
Copy link
Collaborator Author

This PR is eligible for auto-merging policy, so it has been approved automatically. If there are pending conditions, auto merge (with 'squash' method) has been enabled for this PR[Message is sent from bot]

@vaadin-bot vaadin-bot enabled auto-merge (squash) October 2, 2024 07:54
Copy link

github-actions bot commented Oct 2, 2024

Test Results

1 139 files  ± 0  1 139 suites  ±0   1h 10m 50s ⏱️ + 1m 36s
7 410 tests + 2  7 360 ✅ + 3  50 💤 ±0  0 ❌ ±0 
7 714 runs   - 67  7 656 ✅  - 64  58 💤  - 2  0 ❌ ±0 

Results for commit 191715f. ± Comparison against base commit 06c7707.

@vaadin-bot vaadin-bot merged commit 1c8243b into 24.5 Oct 2, 2024
25 of 26 checks passed
@vaadin-bot vaadin-bot deleted the cherry-pick-20057-to-24.5-1727854930157 branch October 2, 2024 07:57
@vaadin-bot
Copy link
Collaborator Author

This ticket/PR has been released with Vaadin 24.5.0.beta5 and is also targeting the upcoming stable 24.5.0 version.

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.

3 participants