osu/osu.Game/Database
Dean Herbert 81461be49f Skip beatmap imports where ruleset is not present in realm
Closes #16651.

When a ruleset is not available, the `Find` call would return null. When
a null is passed to the constructor, `BeatmapInfo` would create an "osu"
ruleset, which tries to get stored to realm and fails on duplicate
primary key.

Probably need to add better safeties against this (or change that
constructor...) but this will fix the migration process.

Probably not serious enough to pull the build. This only affects
rulesets like karaoke which have custom beatmaps.
2022-01-28 00:14:20 +09:00
..
BeatmapLookupCache.cs Extract abstract implementation of online lookup cache 2021-12-21 11:12:51 +01:00
DatabaseContextFactory.cs Add more attempts to delete EF database 2022-01-27 14:32:21 +09:00
DatabaseWriteUsage.cs
EFToRealmMigrator.cs Skip beatmap imports where ruleset is not present in realm 2022-01-28 00:14:20 +09:00
EmptyRealmSet.cs Use Array.Empty instead of constructed list 2022-01-23 23:18:50 +09:00
ICanAcceptFiles.cs
IDatabaseContextFactory.cs
IHasFiles.cs Initialise all file lists at construction time (and remove setter) 2021-11-24 13:56:21 +09:00
IHasGuidPrimaryKey.cs
IHasNamedFiles.cs Update all models to implement IHasNamedFiles 2021-11-25 16:41:12 +09:00
IHasOnlineID.cs
IHasPrimaryKey.cs
IHasRealmFiles.cs
IModelDownloader.cs
IModelFileManager.cs Overwrite existing files if AddFile is called with an existing filename 2021-12-02 17:18:06 +09:00
IModelImporter.cs Remove ILive<> interface (and use abstract Live<> instead) 2022-01-26 13:38:56 +09:00
IModelManager.cs Move manager Update methods to be explicit to where they are still used by legacy code 2022-01-12 17:49:11 +09:00
ImportProgressNotification.cs
ImportTask.cs Update model manager and many related classes to get things compiling again 2022-01-12 17:00:00 +09:00
INamedFile.cs
INamedFileInfo.cs
INamedFileUsage.cs
IPostImports.cs Remove ILive<> interface (and use abstract Live<> instead) 2022-01-26 13:38:56 +09:00
IPostNotifications.cs
ISoftDelete.cs
LegacyBeatmapExporter.cs Remove unnecessary manager parameter 2021-11-25 18:36:03 +09:00
LegacyBeatmapImporter.cs Add missing licence headers 2021-11-25 16:56:19 +09:00
LegacyExporter.cs Fix scores not using correct filename/display strings 2022-01-13 16:56:11 +09:00
LegacyImportManager.cs Fix typo in class and variable names 2021-11-25 17:12:15 +09:00
LegacyModelImporter.cs Remove ILive<> interface (and use abstract Live<> instead) 2022-01-26 13:38:56 +09:00
LegacyScoreExporter.cs Update many score-related classes to move closer to being able to persist to realm 2022-01-12 16:57:27 +09:00
LegacyScoreImporter.cs Add missing licence headers 2021-11-25 16:56:19 +09:00
LegacySkinExporter.cs Remove unnecessary manager parameter 2021-11-25 18:36:03 +09:00
LegacySkinImporter.cs Add missing licence headers 2021-11-25 16:56:19 +09:00
Live.cs Remove ILive<> interface (and use abstract Live<> instead) 2022-01-26 13:38:56 +09:00
MemoryCachingComponent.cs
ModelDownloader.cs Various updates to ruleset and primary key usages to move closer to realm support 2022-01-12 16:57:13 +09:00
OnlineLookupCache.cs Update usages to new naming 2022-01-06 22:54:43 +09:00
OsuDbContext.cs Fix many shortcomings and compatibility issues with EF classes post-rename 2022-01-12 17:00:16 +09:00
RealmAccess.cs Move final empty result set sending to post-compact 2022-01-26 17:21:57 +09:00
RealmExtensions.cs
RealmLive.cs Remove ILive<> interface (and use abstract Live<> instead) 2022-01-26 13:38:56 +09:00
RealmLiveUnmanaged.cs Remove ILive<> interface (and use abstract Live<> instead) 2022-01-26 13:38:56 +09:00
RealmObjectExtensions.cs Remove collection ToLive helper method to avoid confusion 2022-01-26 18:26:37 +09:00
UserLookupCache.cs Extract abstract implementation of online lookup cache 2021-12-21 11:12:51 +01:00