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 hidden scheduled task progress updates causing errors #5966

Merged
merged 1 commit into from
Sep 3, 2024

Conversation

p0358
Copy link
Contributor

@p0358 p0358 commented Aug 26, 2024

Changes

An IConfigurableScheduledTask can be defined with IsHidden => true, which as expected causes it to not be drawn in the UI, nor are its elements created. However, task progress updates would still arrive and cause an error in code that assumed the elements would exist.

Issues

N/A, but merging jellyfin/jellyfin#12511 has a chance of exposing this bug if someone opens admin panel on scheduled tasks page quickly enough after server startup (overall a rather minor bug probably as such)

@p0358 p0358 requested a review from a team as a code owner August 26, 2024 13:54
@thornbill thornbill added the bug Something isn't working label Aug 27, 2024
Copy link
Member

@thornbill thornbill left a comment

Choose a reason for hiding this comment

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

Looks good! I just have a couple minor suggestions.

src/controllers/dashboard/scheduledtasks/scheduledtasks.js Outdated Show resolved Hide resolved
@thornbill thornbill added this to the v10.10.0 milestone Aug 27, 2024
Copy link

sonarcloud bot commented Aug 27, 2024

@p0358
Copy link
Contributor Author

p0358 commented Aug 27, 2024

Merging can be performed automatically once the requested changes are addressed.

idk if doing a force-push instead of second commit didn't break github there

@jellyfin-bot
Copy link
Collaborator

Cloudflare Pages deployment

Latest commit edbf5962f86b6b87afecd69ee26d7611154b8ba3
Status ✅ Deployed!
Preview URL https://323b79dc.jellyfin-web.pages.dev
Type 🔀 Preview

@p0358 p0358 requested a review from thornbill August 27, 2024 22:09
@thornbill thornbill merged commit 722010a into jellyfin:master Sep 3, 2024
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants