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

  1. Export Ultimate Cron configuration files.
  2. Use them when installing a profile.

Proposed resolution

Set the users_list_permission.services.yml to public.

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

jeffreysmattson created an issue. See original summary.

jeffmattson’s picture

Status: Active » Needs review

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

dpi’s picture

dpi’s picture

Status: Needs review » Fixed

  • dpi committed faac5425 on 2.x
    Issue #3488765 by dpi: Fix tests and CI
    
dpi’s picture

Thanks

As found in 2.1.1.

Status: Fixed » Closed (fixed)

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