From 69c5df740a3a11bd4886293c1fab2996c1deb581 Mon Sep 17 00:00:00 2001 From: Ferdinand Thiessen Date: Tue, 9 Jun 2026 18:05:37 +0200 Subject: [PATCH 1/2] fix(NavigationManager): only resolve navigations of booted apps Signed-off-by: Ferdinand Thiessen --- lib/private/NavigationManager.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lib/private/NavigationManager.php b/lib/private/NavigationManager.php index 468e2617d67f0..3236080c640f5 100644 --- a/lib/private/NavigationManager.php +++ b/lib/private/NavigationManager.php @@ -225,8 +225,12 @@ private function resolveAppNavigationEntries(): void { } foreach ($apps as $app) { - // skip already loaded apps + if ($this->appManager->isAppLoaded($app)) { + // the app is not yet booted thus its routes do not yet exist + continue; + } if (in_array($app, $this->loadedAppInfo)) { + // the apps navigations were already resolved continue; } From 843ed2e2dba35277cb77d9db1412e4bb21fe8a36 Mon Sep 17 00:00:00 2001 From: Ferdinand Thiessen Date: Tue, 9 Jun 2026 23:33:58 +0200 Subject: [PATCH 2/2] fixup: Apply suggestion from @susnux Signed-off-by: Ferdinand Thiessen --- lib/private/NavigationManager.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/private/NavigationManager.php b/lib/private/NavigationManager.php index 3236080c640f5..55925f456021c 100644 --- a/lib/private/NavigationManager.php +++ b/lib/private/NavigationManager.php @@ -225,7 +225,7 @@ private function resolveAppNavigationEntries(): void { } foreach ($apps as $app) { - if ($this->appManager->isAppLoaded($app)) { + if (!$this->appManager->isAppLoaded($app)) { // the app is not yet booted thus its routes do not yet exist continue; }