1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-08 11:27:44 +08:00
osu-lazer/osu.Game
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
..
Audio Clean up unused resolved properties 2021-12-03 18:49:49 +09:00
Beatmaps Update all usages of RulesetID and Ruleset.ID to use Ruleset.OnlineID 2022-01-27 15:38:03 +09:00
Collections Block collection loading until realm migration has completed 2022-01-27 00:34:51 +09:00
Configuration Rename RealmContextFactory to RealmAccess 2022-01-24 20:38:07 +09:00
Database Skip beatmap imports where ruleset is not present in realm 2022-01-28 00:14:20 +09:00
Extensions Fix cursors sent to osu-web being potentially string formatted in incorrect culture 2022-01-04 17:20:46 +09:00
Graphics Merge branch 'master' into textbox-AllowIme-false 2022-01-18 17:03:51 +09:00
Input Fix DatabasedKeyBindingContainer re-querying realm on receiving notification 2022-01-25 16:44:44 +09:00
IO Rename RealmContextFactory to RealmAccess 2022-01-24 20:38:07 +09:00
IPC Update IPC usage to return null 2021-12-03 14:30:15 +09:00
Localisation Add button to compact realm on demand 2022-01-12 15:22:36 +09:00
Models Give RealmUser.Username a better default value 2022-01-26 15:14:49 +09:00
Online Avoid showing the external link warning 2022-01-27 14:53:11 +09:00
Overlays Resolve compilation error due to removed method 2022-01-26 19:04:18 +09:00
Performance Add LocalUserPlayInfo interface to convey common information about player status 2021-08-17 16:15:47 +09:00
Properties
Replays Add deep cloning support to Score/ScoreInfo/Replay 2021-07-19 14:14:28 +09:00
Rulesets Use a more correct CompareTo implementation for ruleset ordering 2022-01-27 21:58:04 +09:00
Scoring Update all usages of RulesetID and Ruleset.ID to use Ruleset.OnlineID 2022-01-27 15:38:03 +09:00
Screens Merge branch 'master' into ruleset-ordering-fix 2022-01-27 21:46:03 +09:00
Skinning Remove ILive<> interface (and use abstract Live<> instead) 2022-01-26 13:38:56 +09:00
Stores Update all usages of RulesetID and Ruleset.ID to use Ruleset.OnlineID 2022-01-27 15:38:03 +09:00
Storyboards Rename RealmContextFactory to RealmAccess 2022-01-24 20:38:07 +09:00
Tests Update all usages of RulesetID and Ruleset.ID to use Ruleset.OnlineID 2022-01-27 15:38:03 +09:00
Updater Fix clear identifier typos 2021-12-27 20:26:28 -08:00
Users Call the UserPanel Action when clicking on the flag 2022-01-21 14:01:49 +01:00
Utils Remove obsoleted sentry disposal call and fix incorrectly unbound logger event 2022-01-18 11:27:28 +09:00
.editorconfig Add localisation license header to editorconfig 2021-08-02 11:44:10 +09:00
osu!.res And then everything became one 2017-09-19 16:06:58 +09:00
osu.Game.csproj Update framework 2022-01-26 15:21:14 +09:00
OsuGame.cs Avoid showing the external link warning 2022-01-27 14:53:11 +09:00
OsuGameBase_Importing.cs Move import logic out to partial class 2021-05-28 02:44:44 +09:00
OsuGameBase.cs Move backups to "backups" subfolder to make them easier to find 2022-01-27 14:39:13 +09:00
PerformFromMenuRunner.cs Add flow to allow MatchSubScreen to handle beatmap presentation locally 2021-03-03 14:13:51 +09:00