Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Module added to filter and then disabled while filter is still in SESSION variable causes warning #23

Closed
yorkshire-pudding opened this issue Aug 6, 2024 · 0 comments · Fixed by #24
Assignees
Labels
bug Something isn't working

Comments

@yorkshire-pudding
Copy link
Collaborator

This is an edge case that I encountered while testing a module I was porting, but it is feasible that it could happen in real world usage.

Steps to reproduce

  1. Enable a module with permissions
  2. Go to permission screen
  3. Select only that module and apply the filter
  4. Disable that module
  5. Return to the permission screen (or reload it)

Expected result
Page loads with all the modules, or otherwise handles this.

Actual result
Warning:

Warning: Undefined array key "#description" in theme_user_admin_permissions() (line 133 of /app/docroot/core/modules/user/user.theme.inc).

If devel is loaded, then can lock the page while it builds the Krumo tree.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant