Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 291574

It is not possible to uninstall a module that provides a filter plugin - Drupal\Component\Plugin\Exception\PluginNotFoundException: The "{filter}" plugin does not exist

$
0
0

Problem/Motivation

As mentioned in the title "Drupal\Component\Plugin\Exception\PluginNotFoundException: The "" plugin does not exist"

Drupal\Component\Plugin\Exception\PluginNotFoundException: The "blazy_filter" plugin does not exist. Valid plugin IDs for Drupal\filter\FilterPluginManager are: editor_file_reference, filter_caption, filter_url, filter_null, filter_autop, filter_htmlcorrector, filter_html, filter_html_image_secure, filter_align, filter_html_escape, media_embed, video_embed_wysiwyg in Drupal\Core\Plugin\DefaultPluginManager->doGetDefinition() (line 53 of core/lib/Drupal/Component/Plugin/Discovery/DiscoveryTrait.php).

Steps to reproduce

  1. Install Drupal
  2. Add a filter plugin module (e.g. drupal/blazy)
  3. Configure an input format to use that.
  4. Deploy to production
  5. In dev env (or similar) uninstall the filter module (e.g. drupal/blazy)
  6. Export your configuration
  7. Attempt to deploy your configuration to production (e.g running drush cim)

There are two issues here (three if you are using ckeditor 4 module from contrib)

  1. editor_filter_format_presave doesn't check if the entity is syncing and should
  2. If you have the CKE4 module from contrib - ckeditor_editor_presave doesn't check if the entity is syncing and should
  3. We shouldn't sort the plugins when we're syncing

Proposed resolution

We careful of loading filters when we're syncing

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet


Viewing all articles
Browse latest Browse all 291574

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>