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: Fix failure when Vite sends many messages in sequence (#19340) (CP: 24.4) #19343

Merged
merged 1 commit into from
May 9, 2024

Conversation

vaadin-bot
Copy link
Collaborator

No description provided.

Sending multiple messages at the same time resulted in

java.lang.IllegalStateException: The remote endpoint was in state [TEXT_FULL_WRITING] which is an invalid state for called method

which originates in calling `browserSession.getAsyncRemote().sendText` a second time before the complete callback for the first call has been called.

Now the getBasicRemote() method is used instead which blocks until the message has been sent.
@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) May 9, 2024 15:06
Copy link

sonarcloud bot commented May 9, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

Copy link

github-actions bot commented May 9, 2024

Test Results

1 100 files  ± 0  1 100 suites  ±0   1h 20m 34s ⏱️ -37s
7 001 tests ± 0  6 952 ✅ ± 0  49 💤 ±0  0 ❌ ±0 
7 351 runs   - 16  7 290 ✅  - 16  61 💤 ±0  0 ❌ ±0 

Results for commit 05c2180. ± Comparison against base commit 380d641.

@vaadin-bot vaadin-bot merged commit 514fe0b into 24.4 May 9, 2024
25 of 26 checks passed
@vaadin-bot vaadin-bot deleted the cherry-pick-19340-to-24.4-1715266794023 branch May 9, 2024 15:15
@vaadin-bot
Copy link
Collaborator Author

This ticket/PR has been released with Vaadin 24.4.0.beta3 and is also targeting the upcoming stable 24.4.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.

None yet

3 participants