mirror of
https://github.com/Kareadita/Kavita.git
synced 2025-07-31 14:33:50 -04:00
Fixed a critical crash in Scan library where Series Metadata was getting regenerated and unique constraint failed. (#269)
This commit is contained in:
parent
8211f1ce0e
commit
8175ddf517
@ -228,7 +228,6 @@ namespace API.Services.Tasks
|
|||||||
|
|
||||||
existingSeries.NormalizedName = Parser.Parser.Normalize(existingSeries.Name);
|
existingSeries.NormalizedName = Parser.Parser.Normalize(existingSeries.Name);
|
||||||
existingSeries.OriginalName ??= infos[0].Series;
|
existingSeries.OriginalName ??= infos[0].Series;
|
||||||
existingSeries.Metadata ??= DbFactory.SeriesMetadata(new List<CollectionTag>());
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Now, we only have to deal with series that exist on disk. Let's recalculate the volumes for each series
|
// Now, we only have to deal with series that exist on disk. Let's recalculate the volumes for each series
|
||||||
|
Loading…
x
Reference in New Issue
Block a user