- Issue created by @rahulrasgon
- ๐ฎ๐ณIndia rahulrasgon
Attaching the patch which fixes this issue.
After upgrading this module to latest version, we are facing below error:-
Drupal\Component\Plugin\Exception\PluginNotFoundException: The "" plugin does not exist.
Valid plugin IDs for Drupal\editor\Plugin\EditorManager are: ckeditor5
After debugging, it is found that this occurs when the following update hook in acquia_cms_common runs:
function acquia_cms_common_update_9332()
The helper function _acquia_cms_common_update_page_configurations() unconditionally calls ConfigFactory::getEditable() on editor configs (editor.editor.filtered_html, editor.editor.full_html), and updates them โ even when these configurations donโt exist yet. This leads to:
Prevent the update hook from creating config stubs if the config does not already exist.
Active
3.3
Code
Attaching the patch which fixes this issue.