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

[BasicUI] Fix SSE reconnection to the current page #2280

Merged
merged 1 commit into from
Jan 20, 2024

Conversation

lolodomo
Copy link
Contributor

After an error in the SSE connection, the event source is now reconnected to the right sitemap page.

Fix one of both problems explained in #1757

Signed-off-by: Laurent Garnier [email protected]

After an error in the SSE connection, the event source is now reconnected to the right sitemap page.

Fix one of both problems explained in openhab#1757

Signed-off-by: Laurent Garnier <[email protected]>
@lolodomo lolodomo added bug Something isn't working basic ui Basic UI labels Jan 20, 2024
@lolodomo lolodomo requested a review from a team as a code owner January 20, 2024 19:35
@lolodomo
Copy link
Contributor Author

@kaikreuzer : this bug was there probably more or less since the first day of Basic UI but because the SSE connection is working very well, I never noticed it because SSE reconnection was never required. I discovered it today because the SSE connection is now no more reliable when using Firefox and now the reconnection code is used.

Copy link
Member

@kaikreuzer kaikreuzer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, I also never really noticed it, because usually it is rock stable (and I am not using Firefox).

@kaikreuzer kaikreuzer merged commit 3a31e85 into openhab:main Jan 20, 2024
3 checks passed
@kaikreuzer kaikreuzer added this to the 4.2 milestone Jan 20, 2024
@lolodomo lolodomo deleted the basicui_fix_sse_reconnect branch January 20, 2024 21:34
@lolodomo
Copy link
Contributor Author

@kaikreuzer if you are ok, I cherry pick this fix in 4.1.x branch?

@kaikreuzer
Copy link
Member

@lolodomo Yes, sure, feel free!

lolodomo added a commit that referenced this pull request Jan 21, 2024
After an error in the SSE connection, the event source is now
reconnected to the right sitemap page.

Fix one of both problems explained in #1757

Signed-off-by: Laurent Garnier <[email protected]>
@lolodomo lolodomo added the patch A PR that has been cherry-picked to a patch release branch label Jan 21, 2024
@lolodomo
Copy link
Contributor Author

@lolodomo Yes, sure, feel free!

Ok, done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
basic ui Basic UI bug Something isn't working patch A PR that has been cherry-picked to a patch release branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants