[PR #14475] [MERGED] Ensure UserData stays unique on delete #14005

Closed
opened 2026-02-07 07:22:44 +03:00 by OVERLORD · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/jellyfin/jellyfin/pull/14475
Author: @sundermann
Created: 7/14/2025
Status: Merged
Merged: 7/18/2025
Merged by: @crobibero

Base: masterHead: unique-userdata


📝 Commits (1)

  • 482271c Ensure UserData stays unique on delete

📊 Changes

1 file changed (+14 additions, -0 deletions)

View changed files

📝 Jellyfin.Server.Implementations/Item/BaseItemRepository.cs (+14 -0)

📄 Description

Changes

Make sure user data is unique when deleting an item from the repository. If not, delete the offending user data entries first.

Issues

Fixes #14458
Fixes #14462


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/jellyfin/jellyfin/pull/14475 **Author:** [@sundermann](https://github.com/sundermann) **Created:** 7/14/2025 **Status:** ✅ Merged **Merged:** 7/18/2025 **Merged by:** [@crobibero](https://github.com/crobibero) **Base:** `master` ← **Head:** `unique-userdata` --- ### 📝 Commits (1) - [`482271c`](https://github.com/jellyfin/jellyfin/commit/482271cdb32f71bfd553c00c663b22574cea2468) Ensure UserData stays unique on delete ### 📊 Changes **1 file changed** (+14 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `Jellyfin.Server.Implementations/Item/BaseItemRepository.cs` (+14 -0) </details> ### 📄 Description <!-- Ensure your title is short, descriptive, and in the imperative mood (Fix X, Change Y, instead of Fixed X, Changed Y). For a good inspiration of what to write in commit messages and PRs please review https://chris.beams.io/posts/git-commit/ and our documentation. --> **Changes** <!-- Describe your changes here in 1-5 sentences. --> Make sure user data is unique when deleting an item from the repository. If not, delete the offending user data entries first. **Issues** <!-- Tag any issues that this PR solves here. ex. Fixes # --> Fixes #14458 Fixes #14462 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
OVERLORD added the pull-request label 2026-02-07 07:22:44 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/jellyfin#14005