Permissions set for deleted storage entities not being cleaned up

Created on 22 May 2023, over 1 year ago
Updated 26 May 2023, over 1 year ago

Problem/Motivation

I'm designing some structure, and realized I didn't actually need a content type that exists on an older site (I can essentially just recreate it with exposed filters). I deleted it in UI, but if I go to /admin/reports/upgrade-status I get the error "Invalid permissions will trigger runtime exceptions in Drupal 10. Permissions should be defined in a permissions.yml file or a permission callback." and it lists various permissions related to that deleted storage entity.

They are correctly do not show in the Drupal permissions UI anymore.

Steps to reproduce

1) Create a storage entity type in Drupal 9.5.9
2) Assign permissions to it
3) Delete storage entity type
4) Visit admin/reports/upgrade-status / check log

πŸ› Bug report
Status

Fixed

Version

1.3

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States erutan

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024