Skip to content

update starter data to replace dynamic-plugins with plugins portlet in Developers layout #35097

@hmoreras

Description

@hmoreras

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-pluginsplugins in cms_layouts_portletsnever 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.

Metadata

Metadata

Assignees

Type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions