mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-16 05:43:54 +03:00
[PR #4412] [MERGED] Save new display preferences #10065
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/4412
Author: @cvium
Created: 11/2/2020
Status: ✅ Merged
Merged: 11/8/2020
Merged by: @cvium
Base:
master← Head:fix_displaypreferences_creation📝 Commits (1)
19d77c9Save new display preferences📊 Changes
2 files changed (+9 additions, -0 deletions)
View changed files
📝
Jellyfin.Api/Controllers/DisplayPreferencesController.cs(+3 -0)📝
MediaBrowser.Controller/IDisplayPreferencesManager.cs(+6 -0)📄 Description
GetDisplayPreferences and GetItemDisplayPreferences creates the entity if it doesn't exist already, but due to WAL it will not be flushed immediately and cause a unique constraint error at the first SaveChanges call (I am guessing).
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.