Entity user.role.content_editor does not exist

Created on 4 April 2025, 3 days ago

Problem/Motivation

Trying to install this recipe, I get this error:

In Exists.php line 39:
                                                     
  [Drupal\Core\Config\Action\ConfigActionException]  
  Entity user.role.content_editor does not exist     
                                                     

Exception trace:
  at /var/www/html/web/core/lib/Drupal/Core/Config/Action/Exists.php:39
 Drupal\Core\Config\Action\Exists->returnEarly() at /var/www/html/web/core/lib/Drupal/Core/Config/Action/Plugin/ConfigAction/EntityMethod.php:92
 Drupal\Core\Config\Action\Plugin\ConfigAction\EntityMethod->apply() at /var/www/html/web/core/lib/Drupal/Core/Config/Action/ConfigActionManager.php:156
 Drupal\Core\Config\Action\ConfigActionManager->applyAction() at /var/www/html/web/core/lib/Drupal/Core/Recipe/RecipeRunner.php:122
 Drupal\Core\Recipe\RecipeRunner::processConfiguration() at /var/www/html/web/core/lib/Drupal/Core/Recipe/RecipeRunner.php:307
 Drupal\Core\Recipe\RecipeRunner::installConfig() at n/a:n/a
 call_user_func_array() at /var/www/html/web/core/lib/Drupal/Core/Recipe/RecipeCommand.php:97
 Drupal\Core\Recipe\RecipeCommand->execute() at /var/www/html/vendor/symfony/console/Command/Command.php:326
 Symfony\Component\Console\Command\Command->run() at /var/www/html/vendor/symfony/console/Application.php:1096
 Symfony\Component\Console\Application->doRunCommand() at /var/www/html/vendor/symfony/console/Application.php:324
 Symfony\Component\Console\Application->doRun() at /var/www/html/vendor/symfony/console/Application.php:175
 Symfony\Component\Console\Application->run() at /var/www/html/vendor/drush/drush/src/Runtime/Runtime.php:110
 Drush\Runtime\Runtime->doRun() at /var/www/html/vendor/drush/drush/src/Runtime/Runtime.php:40
 Drush\Runtime\Runtime->run() at /var/www/html/vendor/drush/drush/drush.php:140
 include() at /var/www/html/vendor/bin/drush.php:119

exit status 1
Failed to run drush recipe ./recipes/events -v: exit status 1

It seems that this is a role that gets installed with the standard profile. But won't exist if you didn't use the standard profile. I'm still fairly new to recipes. Is there a way to create this if it doesn't exist?

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Active

Version

1.1

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States bburg Washington D.C.

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

Comments & Activities

Production build 0.71.5 2024