Problem/Motivation

Drupal core 11.4.9 changed the ckeditor5 library version in core/core.libraries.yml from 47.6.3 to 47.6.3-drupal.1 (core #3625998).

SettingsConfigHandler::getDllVersion() maps only 47.6.3 to 47.7.4 and otherwise returns the core version as is. So the premium plugin scripts are requested from https://cdn.ckeditor.com/ckeditor5/47.6.3-drupal.1/dll/..., which returns 404, while the 47.7.4 files return 200.

Result: premium plugins fail to load with JavaScript errors in the editor, and the Layout Builder "Configure block" dialog can fail to open. Found in the Varbase Project 10.1.5 release pipeline: 8 of 15 functional suites failed on core 11.4.9 with 1.8.5, and core 11.4.8 worked.

Steps to reproduce

  1. Drupal core 11.4.9 with CKEditor 5 Premium Features 1.8.5, a premium plugin enabled on a text format.
  2. Open a content form that uses that format.
  3. The console shows 404s for https://cdn.ckeditor.com/ckeditor5/47.6.3-drupal.1/dll/... and the premium plugins do not load.

Proposed resolution

In getDllVersion(), strip a trailing -drupal.N build suffix from the core version before the mapping lookup. 47.6.3-drupal.1 then resolves to 47.7.4, and later core rebuilds resolve to the published CDN version.

Remaining tasks

  • ✅ File an issue
  • ✅ Addition/Change/Update/Fix
  • ✅ Testing to ensure no regression
  • ➖ Automated unit/functional testing coverage
  • ➖ Developer Documentation support
  • ➖ User Guide Documentation support
  • ➖ UX/UI designer responsibilities
  • ➖ Accessibility and Readability
  • ✅ Reviewed by a human
  • ✅ Code review by maintainers
  • ✅ Full testing and approval
  • ✅ Credit contributors
  • ✅ Review with the product owner
  • ✅ Update Release Notes
  • ✅ Release

User interface changes

  • N/A

API changes

  • N/A

Data model changes

  • N/A

Release notes snippet

  • Premium plugins load again on Drupal core 11.4.9, whose CKEditor 5 version carries a -drupal.1 suffix.
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

rajab natshah created an issue. See original summary.

rajab natshah’s picture

Issue summary: View changes
Status: Active » Needs review

salmonek’s picture

Issue summary: View changes

Thanks,
Reviewed, tested with 47.6.2, 47.6.3 and 47.6.3-drupal.1 and it'll be released today to ensure compatibility with Drupal version that will be released later today.

salmonek’s picture

Issue summary: View changes
Status: Needs review » Fixed

Released in 1.8.6

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.

neclimdul’s picture

Status: Fixed » Closed (fixed)

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