The contrib ckeditor project is installed unexpectedly

Created on 14 September 2022, about 2 years ago
Updated 26 September 2023, about 1 year ago

Problem/Motivation

The D7 CKEditor 4 - WYSIWYG HTML editor β†’ project has just released a 1.0.1 version that is compatible with Drupal 9 and 10. Since this has been released, any module that lists a dependency on the core drupal:ckeditor in its info.yml file is causing the contrib ckeditor project to be required by composer, even if it doesn't list it as a dependency in a composer.json file.

I assume that the Drupal composer repository is doing something with .info.yml dependencies, but it is incorrectly parsing the dependencies: Core's CK Editor module is drupal:ckeditor and the contrib project would be correctly added as ckeditor:ckeditor.

Steps to reproduce

On a clean install, run

composer require drupal/ckeditor_find

Composer will attempt to find an installable set of packages that includes the CKEditor 4 - WYSIWYG HTML editor β†’ module despite this not being a dependency.

πŸ› Bug report
Status

Closed: duplicate

Version

1.0

Component

Code

Created by

πŸ‡¬πŸ‡§United Kingdom MrDaleSmith

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024