Add Drupal core SDC module as a dependency

Created on 19 December 2023, 6 months ago
Updated 10 May 2024, about 2 months ago

Problem/Motivation

This module depends on the core SDC module, but that is not listed as one of the dependencies in the `sdc_display.info.yml` file.

πŸ› Bug report
Status

Needs review

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States jayhuskins

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

Merge Requests

Comments & Activities

  • Issue created by @jayhuskins
  • Status changed to RTBC 5 months ago
  • πŸ‡ͺπŸ‡ΈSpain pcambra Spain, πŸ‡ͺπŸ‡Ί

    Yup.

    Otherwise you get

    " The service "Drupal\cl_editorial\NoThemeComponentManager" has a dependency on a non-existent service "plugin.manager.sdc"."

  • Status changed to Needs review 5 months ago
  • e0ipso Can Picafort

    I am hesitant to merge this, because this module will soon be removed from core (and merged into the Core namespace instead). This will cause this module to download the contrib module instead.

    How do you think we should handle that?

  • πŸ‡ͺπŸ‡ΈSpain pcambra Spain, πŸ‡ͺπŸ‡Ί

    I was not aware of that, we either merge this and remove it and release a minor whenever that happens or we ignore/postpone it

  • Status changed to RTBC 5 months ago
  • πŸ‡ΊπŸ‡ΈUnited States jayhuskins

    SDC has already been merged into core as an experimental module. This MR refers to the core version "drupal:sdc". The contrib version would be referred to as "sdc:sdc".

  • Status changed to Needs review 5 months ago
  • πŸ‡ͺπŸ‡ΈSpain pcambra Spain, πŸ‡ͺπŸ‡Ί

    @jayhuskins this is not what @e0ipso is referring to, please see 🌱 [META] Move code from the experimental SDC module to core Active

  • πŸ‡ΊπŸ‡ΈUnited States brianperry

    On the current 10.4.0-dev if I install Drupal, and then install this module I get the error that @pcambra mentioned. I'm only able to use this module if I enable the experimental SDC module.

    So I don't think we'd want to add the experimental SDC module as a dependency - my understanding is that going forward components / SDCs are just a fundamental part of Drupal that don't need to be enabled. Instead, we need to figure out what this sdc_display is relying on from the experimental module and fix that.

Production build 0.69.0 2024