Problem/Motivation

After updating to the latest version, the following error appears: The filter_ckeditor_media_embed plugin does not exist. Valid plugin IDs for Drupal\filter\FilterPluginManager are: ace_filter, blazy_filter, ckeditor5_premium_features_collaboration_filter, filter_resize_media, editor_file_reference, entity_embed, filter_html, filter_html_image_secure, filter_image_lazy_load, filter_autop, filter_html_escape, filter_null, filter_htmlcorrector, filter_caption, filter_url, filter_align, linkit, media_embed, filter_pathologic, slick_filter, token_filter."

Steps to reproduce

Update the Drupal version to the latest release. Then, try running drush cr or open the website to verify.

Proposed resolution

Attempt to synchronize the .info.yml file with composer.json so that both specify the same Drupal core version.

Remaining tasks

  • ✅ File an issue
  • ✅ Addition/Change/Update/Fix
  • ✅ Testing to ensure no regression
  • ➖ Automated unit testing coverage
  • ➖ Automated functional testing coverage
  • ➖ UX/UI designer responsibilities
  • ➖ Readability
  • ➖ Accessibility
  • ➖ Performance
  • ➖ Security
  • ➖ Documentation
  • ✅ Code review by maintainers
  • ✅ Full testing and approval
  • ✅ Credit contributors
  • ✅ Review with the product owner
  • ✅ Release notes snippet
  • ✅ Release ckeditor_media_embed-2.0.5

API changes

  • N/A

Data model changes

  • N/A

Release notes snippet

  • fix: #3558095 Synchronize the .info.yml file with composer.json to ensure both require the same Drupal core version By: @qusaitaha
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

qusai taha created an issue. See original summary.

qusai taha’s picture

Status: Active » Needs review
rajab natshah’s picture

Issue summary: View changes

rajab natshah’s picture

Assigned: qusai taha » Unassigned
Issue summary: View changes
Issue tags: +ckeditor_media_embed-2.0.5
rajab natshah’s picture

Status: Needs review » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

rajab natshah’s picture

Issue summary: View changes
rajab natshah’s picture

Issue summary: View changes
elc’s picture

The drupal core requirement information is automatically included in the composer file by the drupal composer handling. It is not required to explicitly set it as it just introduces a point of failure for the future when it falls out of sync again.

Here is a snippet the information composer keeps in the lock file, as per version 2.0.4 which doesn't have the explicit requirement set but instead it bases the drupal/core requirement from the module's .info.yml file.

{
            "name": "drupal/ckeditor_media_embed",
            "version": "2.0.4",
            "source": {
                "type": "git",
                "url": "https://git.drupalcode.org/project/ckeditor_media_embed.git",
                "reference": "2.0.4"
            },
            "dist": {
                "type": "zip",
                "url": "https://ftp.drupal.org/files/projects/ckeditor_media_embed-2.0.4.zip",
                "reference": "2.0.4",
                "shasum": "4cfacef24a5cc2a25a7df4071b40d6b31de4c21d"
            },
            "require": {
                "drupal/core": "^10.3 || ^11"
            },
            "type": "drupal-module",

Whatever the original problem, this is not it.

Status: Fixed » Closed (fixed)

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