mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-01-24 07:30:57 +01:00
[PR #5383] [MERGED] do not pick a linked item as primary when merging versions #10328
Labels
No labels
area:database
awaiting-feedback
backend
blocked
breaking change: web api
bug
build
ci
confirmed
discussion needed
dotnet future
downstream
duplicate
EFjellyfin.db
enhancement
feature
future
github-actions
good first issue
hdr
help wanted
invalid
investigation
librarydb
live-tv
lyrics
media playback
music
needs testing
nuget
performance
platform
pull-request
question
regression
release critical
requires-web
roadmap
security
security
stale
support
syncplay
ui & ux
upstream
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: starred/jellyfin#10328
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
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/5383
Author: @cvium
Created: 3/5/2021
Status: ✅ Merged
Merged: 3/5/2021
Merged by: @Bond-009
Base:
master← Head:fix-mergeversions-overflow📝 Commits (1)
59814bddo not pick a linked item as primary when merging versions📊 Changes
1 file changed (+1 additions, -3 deletions)
View changed files
📝
Jellyfin.Api/Controllers/VideosController.cs(+1 -3)📄 Description
When merging two versions that are already merged (user error, but can happen), the first one would be picked and if it already has the other version as primary this line will cause a stack overflow as it goes into an infinite loop
cd4641dca0/MediaBrowser.Controller/Entities/Video.cs (L174)🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.