Problem/Motivation

Write a 3.x update hook to remove Page Manager configs:

page_manager.page.admin_dashboard
page_manager.page_variant.admin_dashboard-layout_builder-0

Both are obsolete in 3.x and need to be deleted, otherwise an error appears after updating from 2.x to 3.x because Page manager jumps in!

As return value of the update hook write:

"DROWL Admin Dashboard Page Manager pages have been deleted. You may want to uninstall Page Manager module entirely, if you installed it solely as dependency of DROWL Admin Dashboard."

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

anybody created an issue. See original summary.

lrwebks made their first commit to this issue’s fork.

lrwebks’s picture

Assigned: lrwebks » Unassigned
Status: Active » Needs review
anybody’s picture

Status: Needs review » Fixed

Thanks!

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

  • anybody committed f6502fa6 on 3.x
    Revert "Resolve #3571236 "Write a 3.x""
    
    This reverts merge request !12
anybody’s picture

Status: Fixed » Active

I had to revert this and reopen. Just saw this might not be the right approach because it's a config entity:

https://git.drupalcode.org/project/page_manager/-/blob/8.x-4.x/src/Entit...

As a result of this, the menu link pointing this page still exists... I need to find out if it will be deleted if doing it differently.

anybody’s picture

Status: Active » Fixed

Fixed, works pretty well! @lrwebks please remember for the future.

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.