Problem/Motivation
Installing a profile that uses configuration ymls exported from the Ultimate Cron module this error arises:
Unexpected error during import with operation delete for ultimate_cron.job.webform_cron: The "Drupal\user_list_permission\Routing\UserListPermissionRouteSubscriber" service or alias has been removed or inlined when the container was compiled. You should either make it public, or stop using the container directly and use dependency injection instead.
This Ultimate Cron is not the only module that throws this error in this case when importing the configs through the profile install.
Steps to reproduce
- Export Ultimate Cron configuration files.
- Use them when installing a profile.
Proposed resolution
Set the users_list_permission.services.yml to public.
Issue fork user_list_permission-3488765
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
Comment #3
jeffmattsonComment #5
dpiComment #7
dpiComment #9
dpiThanks
As found in 2.1.1.