Skip to content

bug: local task definitions should belong to the module that defines the route#17

Open
eojthebrave wants to merge 1 commit into
e0ipso:mainfrom
eojthebrave:local-task-errors
Open

bug: local task definitions should belong to the module that defines the route#17
eojthebrave wants to merge 1 commit into
e0ipso:mainfrom
eojthebrave:local-task-errors

Conversation

@eojthebrave
Copy link
Copy Markdown
Contributor

Move local task definitions for sub-module routes into the sub-module that defines the route. This fixes an issue where if you enable simple_oauth_21, and try and visit /admin/config/people/simple_oauth/oauth-21 but not all the sub-modules are enabled you get an error. The error is caused by Drupal attempting to render all the local task tabs, but some of them point to routes that don't exist if the corresponding sub-module doesn't exist.

…the route.

Move local task definitions for sub-module routes into the sub-module that defines the route. This fixes an issue where if you enable simple_oauth_21, and try and visit /admin/config/people/simple_oauth/oauth-21 but not all the sub-modules are enabled you get an error. The error is caused by Drupal attempting to render all the local task tabs, but some of them point to routes that don't exist if the correspending sub-module doesn't exist.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant