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 for issue #20092 (#20103) (CP: 24.5) #20203

Merged
merged 1 commit into from
Oct 9, 2024

Conversation

vaadin-bot
Copy link
Collaborator

No description provided.

…le session expires #20092 (#20103)

* fix: VaadinSessionScopes for all sessions are destroyed when any single session expires.

* Add new method VaadinSession.addSessionDestroyListener() for when you just want one destroy
  notificatios for a single session, instead of geting notifications for all sessions via
  VaadinService.addSessionDestroyListener().

* Refactor the Spring scopes to take advantage of the new method to fix an inefficiency.

* Mark SpringVaadinSession, which is now empty and useless, for deprecation.

Fixes #20092.

* Apply formatter.

* Restore public method SpringVaadinSession.addDestroyListener().

* Restore public method SpringVaadinSession.fireSessionDestroy().

---------

Co-authored-by: caalador <[email protected]>
Co-authored-by: Teppo Kurki <[email protected]>
Copy link

github-actions bot commented Oct 9, 2024

Test Results

1 141 files  ± 0  1 141 suites  ±0   1h 26m 3s ⏱️ +3s
7 441 tests ± 0  7 391 ✅ ± 0  50 💤 ±0  0 ❌ ±0 
7 808 runs  +30  7 748 ✅ +30  60 💤 ±0  0 ❌ ±0 

Results for commit b7fe347. ± Comparison against base commit 2538e4d.

Copy link

sonarcloud bot commented Oct 9, 2024

@mcollovati mcollovati merged commit 5ec83b9 into 24.5 Oct 9, 2024
26 checks passed
@mcollovati mcollovati deleted the cherry-pick-20103-to-24.5-1728487426547 branch October 9, 2024 16:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants