From 08fd42e0dd99ee86e6be6c29c8752f9d1c38ed98 Mon Sep 17 00:00:00 2001 From: iambibi_ <89582596+iambibi@users.noreply.github.com> Date: Sun, 16 Aug 2026 10:13:21 +0200 Subject: [PATCH 1/2] hotfix: access to getServer() in bootstrap for OMCPlugin.isUnitTestVersion(), (and bootstrap arent available in bootstrap) --- src/main/java/fr/openmc/core/OMCRegistry.java | 1 - 1 file changed, 1 deletion(-) diff --git a/src/main/java/fr/openmc/core/OMCRegistry.java b/src/main/java/fr/openmc/core/OMCRegistry.java index f7d09cc5d..ad23f208b 100644 --- a/src/main/java/fr/openmc/core/OMCRegistry.java +++ b/src/main/java/fr/openmc/core/OMCRegistry.java @@ -62,7 +62,6 @@ private OMCRegistry() {} public static void bootstrapAll(BootstrapContext context) { for (RegistryContext ctx : OMCRegistry.ALL) { - if (isTyped(ctx, RegistryLoadingType.NOT_LOADED_UNIT_TEST) && OMCPlugin.isUnitTestVersion()) continue; if (isNotTyped(ctx, RegistryLoadingType.BOOTSTRAP)) continue; LifecycleRegistry r = load(ctx); From 1f523d71959c74d2e03040e638cb86cc3fc5d5d4 Mon Sep 17 00:00:00 2001 From: iambibi_ <89582596+iambibi@users.noreply.github.com> Date: Sun, 16 Aug 2026 10:20:27 +0200 Subject: [PATCH 2/2] hotfix: DAILY_EVENTS not init --- src/main/java/fr/openmc/core/OMCRegistry.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/fr/openmc/core/OMCRegistry.java b/src/main/java/fr/openmc/core/OMCRegistry.java index ad23f208b..4d271ea61 100644 --- a/src/main/java/fr/openmc/core/OMCRegistry.java +++ b/src/main/java/fr/openmc/core/OMCRegistry.java @@ -55,6 +55,8 @@ public final class OMCRegistry { new RegistryContext(() -> CUSTOM_MOBS = new CustomMobRegistry(), RegistryLoadingType.AFTER_IA), new RegistryContext(() -> WEEKLY_EVENTS = new WeeklyEventsRegistry(), + RegistryLoadingType.AFTER_IA), + new RegistryContext(() -> DAILY_EVENTS = new DailyEventsRegistry(), RegistryLoadingType.AFTER_IA) );