Add Drupal core SDC module as a dependency

Created on 19 December 2023, over 1 year 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

Active

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 about 1 year ago
  • πŸ‡ͺπŸ‡ΈSpain pcambra Asturies

    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 about 1 year 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 Asturies

    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 about 1 year 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 about 1 year ago
  • πŸ‡ͺπŸ‡ΈSpain pcambra Asturies

    @jayhuskins this is not what @e0ipso is referring to, please see πŸ“Œ Move code from the experimental SDC module to core Fixed

  • πŸ‡ΊπŸ‡Έ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.

  • πŸ‡¨πŸ‡¦Canada Liam Morland Ontario, CA πŸ‡¨πŸ‡¦

    In Drupal 10.3, the core sdc module has almost nothing in it. What is there is there to output deprecation messages. This should probably be closed as wontfix. All versions of Drupal 10 before 10.3 will be EOL very soon in any case.

  • πŸ‡ͺπŸ‡ΈSpain pcambra Asturies

    Fair enough :)

Production build 0.71.5 2024