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

Improve BaseRowItem refreshing (fix crash after item deletion) #2949

Merged
merged 1 commit into from
Aug 9, 2023

Conversation

nielsvanvelzen
Copy link
Member

@nielsvanvelzen nielsvanvelzen commented Aug 7, 2023

Changes

  • Fix race conditions where selected item would change during refresh
  • Catch API exceptions
  • Remove item from adapter when refresh fails (should actually only happen with a 404 but the server returns a 500 🤷)
  • Format some files

Issues

Fixes #2948

@nielsvanvelzen nielsvanvelzen added bug Something isn't working crash Bug causing app crashes labels Aug 7, 2023
@nielsvanvelzen nielsvanvelzen added this to the v0.16.0 milestone Aug 7, 2023
@nielsvanvelzen nielsvanvelzen marked this pull request as ready for review August 7, 2023 20:39
- Fix race conditions where selected item would change during refresh
- Catch API exceptions
- Remove item from adapter when refresh fails
- Format some files
@nielsvanvelzen nielsvanvelzen merged commit 9ad2a1d into jellyfin:master Aug 9, 2023
@nielsvanvelzen nielsvanvelzen deleted the item-refresh-delete branch August 9, 2023 20:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working crash Bug causing app crashes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Error deleting item
2 participants