mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-16 05:43:54 +03:00
[PR #5873] [MERGED] Check for empty string when migrating displaypreferences #10699
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/jellyfin/jellyfin/pull/5873
Author: @cvium
Created: 4/20/2021
Status: ✅ Merged
Merged: 4/20/2021
Merged by: @Bond-009
Base:
master← Head:fix-displaypref-migration📝 Commits (2)
cbb855eCheck for empty string when migrating displaypreferences4d7c1fbuse int.Parse📊 Changes
1 file changed (+5 additions, -5 deletions)
View changed files
📝
Jellyfin.Server/Migrations/Routines/MigrateDisplayPreferencesDb.cs(+5 -5)📄 Description
Changes
Some values were empty strings, which causes
int.Parseto crashIssues
Fixes https://github.com/jellyfin/jellyfin/issues/5473#issuecomment-817184184
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.