Summary
On fresh DotCMS installs, the Angular Plugins portlet (/plugins) is inaccessible even though it appears in the sidebar menu. Clicking it redirects to the default portlet instead.
Root Cause
The upgrade task Task260320AddPluginsPortletToMenu — which migrates dynamic-plugins → plugins in cms_layouts_portlets — never runs on fresh installs because StartupTasksExecutor skips all run-once tasks when firstTimeStart = true (i.e., DB_VERSION == 0).
As a result:
- The menu API returns
{ id: "dynamic-plugins" } for that layout slot
DotMenuService.isPortletInMenu("plugins") finds no matching entry → returns false
MenuGuardService.canActivate() blocks navigation to /plugins and redirects
What needs to be done
Update full and empty starter once #34957 is merged.
Summary
On fresh DotCMS installs, the Angular Plugins portlet (
/plugins) is inaccessible even though it appears in the sidebar menu. Clicking it redirects to the default portlet instead.Root Cause
The upgrade task
Task260320AddPluginsPortletToMenu— which migratesdynamic-plugins→pluginsincms_layouts_portlets— never runs on fresh installs becauseStartupTasksExecutorskips all run-once tasks whenfirstTimeStart = true(i.e.,DB_VERSION == 0).As a result:
{ id: "dynamic-plugins" }for that layout slotDotMenuService.isPortletInMenu("plugins")finds no matching entry → returnsfalseMenuGuardService.canActivate()blocks navigation to/pluginsand redirectsWhat needs to be done
Update full and empty starter once #34957 is merged.