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

Unable to delete Access Schedules from Parental Control menu #6119

Open
Skin80 opened this issue Sep 25, 2024 · 6 comments · May be fixed by #6133
Open

Unable to delete Access Schedules from Parental Control menu #6119

Skin80 opened this issue Sep 25, 2024 · 6 comments · May be fixed by #6133
Labels
bug Something isn't working

Comments

@Skin80
Copy link

Skin80 commented Sep 25, 2024

Describe The Bug
Under Parental Control, there is the ability to add or remove Access Schedule. Currently you can add a new schedule item, but pressing the delete (trash can) icon does nothing. Trying to refresh the page after clicking the delete icon results in a JS error.

Steps To Reproduce

  1. Click on Dashboard
  2. Go to Users
  3. Select a User
  4. Go to Parental Control
  5. Try to delete an Access Schedule

Expected Behavior
Removed schedule should no longer appear and access rescinded.

Logs
TypeError

a is null

le@http://192.168.1.10:8096/web/73233.294285d0ae14263ac91a.chunk.js:2:12493
73233@http://192.168.1.10:8096/web/73233.294285d0ae14263ac91a.chunk.js:2:17829
s@http://192.168.1.10:8096/web/runtime.bundle.js?cb9605c13a12ef3dce91:1:155
78304@http://192.168.1.10:8096/web/users-parentalcontrol.bf742afb5e8cedfcb442.chunk.js:1:2807
s@http://192.168.1.10:8096/web/runtime.bundle.js?cb9605c13a12ef3dce91:1:155
38601/i/<@http://192.168.1.10:8096/web/main.jellyfin.bundle.js?cb9605c13a12ef3dce91:2:446851

Screenshots

System (please complete the following information):

  • Linux, Windows, iPhone, Tizen (tried on all of them)
  • Firefox, Chrome, Edge
  • Jellyfin Version: 10.10.0

Additional Context

@Skin80 Skin80 added the bug Something isn't working label Sep 25, 2024
@Skin80
Copy link
Author

Skin80 commented Sep 25, 2024

@viown
Copy link
Contributor

viown commented Sep 27, 2024

If you create a new schedule, exit and then re-open the page, are you able to delete it?

@Skin80
Copy link
Author

Skin80 commented Sep 27, 2024

No, same issue, even with newly created schedules. Clicking the delete button doesn't appear to do anything, but then the errors above popup if I try refreshing the page. So, must be doing something, just not the right thing 😊

@viown viown linked a pull request Sep 28, 2024 that will close this issue
@viown
Copy link
Contributor

viown commented Sep 28, 2024

It looks like you're also mentioning a separate issue where refreshing the profile page will result in the page not loading with an error.

@Skin80
Copy link
Author

Skin80 commented Sep 28, 2024

Sorry, yes, you're right. I didn't realise the JS error occurred regardless of anything done on the Parental Control page. I (erroneously) thought they only occurred after trying to delete a schedule.

Would you like me to raise a separate ticket for the JS error?

@viown
Copy link
Contributor

viown commented Sep 28, 2024

Sure.

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
None yet
Development

Successfully merging a pull request may close this issue.

2 participants