Unexpected error during import with operation update for system.action.message_delete_action: The message_delete_action plugin does not exist.

Created on 12 April 2024, 2 months ago
Updated 12 June 2024, 11 days ago

While trying to run `drush cim -y` I get the following error on Drupal 10.2.5.

[error]  Drupal\Core\Config\ConfigException: Errors occurred during import in Drush\Commands\config\ConfigImportCommands->doImport() (line 276 of /app/vendor/drush/drush/src/Commands/config/ConfigImportCommands.php). 

In ConfigImportCommands.php line 290:
                                                                                                                   
  The import failed due to the following reasons:                                                                  
  Unexpected error during import with operation update for system.action.message_delete_action: The "message  
  _delete_action" plugin does not exist. Valid plugin IDs for Drupal\Core\Action\ActionManager are: ...                                                                                          
                                                                                                                   

In ConfigImportCommands.php line 276:
                                 
  Errors occurred during import  

The config id and plugin values look correct so I don't understand why it's not working. I just updated to 1.5 and it's trying to update the plugin is to entity:delete_action:message. I've rebuilt cache multiple times and updb shows no pending updates.

πŸ’¬ Support request
Status

Active

Version

1.5

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States jphelan

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

Comments & Activities

  • Issue created by @jphelan
  • πŸ‡ΊπŸ‡ΈUnited States bluegeek9
  • πŸ‡ΊπŸ‡ΈUnited States jphelan

    I was able to use the devel config editor to change the value on the dev env. Importing a single config did not work either and provided the same error. Any reason this is not a good solution?

  • πŸ‡¬πŸ‡§United Kingdom dahousecat

    I can confirm using the devel config editor to manually update the plugin to 'entity:delete_action:message' worked for me too.

  • πŸ‡ΊπŸ‡¦Ukraine Tyapchyc

    It looks like after updating the module you ran updb and configs was updates ( plugin value from "message_delete_action" to "entity:delete_action:message"). And then you needed to export and commit the changes of the config files, because if not, you'll try to import all configs to overwrite all the values ​​of a plugin that no longer exists

Production build 0.69.0 2024