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

Issue: Job Monitoring Stops in All Tabs When One Tab is Closed #30665

Closed
fabrizzio-dotCMS opened this issue Nov 15, 2024 · 2 comments · Fixed by #30816
Closed

Issue: Job Monitoring Stops in All Tabs When One Tab is Closed #30665

fabrizzio-dotCMS opened this issue Nov 15, 2024 · 2 comments · Fixed by #30816

Comments

@fabrizzio-dotCMS
Copy link
Contributor

Parent Issue

#29498

Problem Statement

There is an issue with the job monitoring feature. When multiple browser tabs are opened to monitor the progress of the same job, all tabs display the job progress correctly. However, if one of the tabs is closed, monitoring stops in all remaining tabs. The following error is logged when this occurs:

14:48:34.607 ERROR job.JobQueueResource - Error writing SSE event
org.apache.catalina.connector.ClientAbortException: java.io.IOException: Broken pipe
at org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java:309) ~[?:?]
at org.apache.catalina.connector.OutputBuffer.flush(OutputBuffer.java:271) ~[?:?]
...

Steps to Reproduce

1.	Open multiple browser tabs to monitor the progress of a single job.
2.	Observe that the job progress is displayed correctly in all tabs.
3.	Close one of the tabs monitoring the same job.
4.	Notice that all remaining tabs stop monitoring the job, and the above error is logged in the server logs.

Acceptance Criteria

closing one tab shouldn't stop the other

dotCMS Version

current main

Proposed Objective

Technical User Experience

Proposed Priority

Priority 3 - Average

External Links... Slack Conversations, Support Tickets, Figma Designs, etc.

No response

Assumptions & Initiation Needs

No response

Quality Assurance Notes & Workarounds

No response

Sub-Tasks & Estimates

No response

@jgambarios
Copy link
Contributor

jgambarios commented Dec 10, 2024

Fixed in #30367 and #30816

@fabrizzio-dotCMS
Copy link
Contributor Author

fabrizzio-dotCMS commented Dec 13, 2024

Looks good. Now each tab works independently no other connections are closed upon closing a single tab

@github-project-automation github-project-automation bot moved this from Internal QA to Done in dotCMS - Product Planning Dec 13, 2024
@fabrizzio-dotCMS fabrizzio-dotCMS removed their assignment Dec 13, 2024
@fabrizzio-dotCMS fabrizzio-dotCMS moved this from Done to QA - Backlog in dotCMS - Product Planning Dec 13, 2024
@fabrizzio-dotCMS fabrizzio-dotCMS moved this from QA - Backlog to Done in dotCMS - Product Planning Dec 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

3 participants