Dependency on stable (instead of stable9)

Created on 8 February 2024, 11 months ago
Updated 13 February 2024, 11 months ago

Problem/Motivation

Getting an error message about missing dependency "stable"

Steps to reproduce

Upgrade a drupal 9 istallation with a theme that depends on classy to Drupal 10.
Probably also just install such a theme under Drupal 10

Proposed resolution

In classy.info.yml, replace
base theme: stable
with
base theme: stable9

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Needs review

Version

1.0

Component

Code

Created by

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

Comments & Activities

  • Issue created by @bernd31
  • Assigned to abhishek_virasat
  • Issue was unassigned.
  • Status changed to Needs review 11 months ago
  • Open in Jenkins → Open on Drupal.org →
    Core: 10.2.x + Environment: PHP 8.1 & MySQL 5.7
    last update 11 months ago
    2 pass
  • 🇮🇳India abhishek_virasat

    @bernd31, I have fixed the issue and created Patch file. please kindly review the Patch file.

  • Hi,

    Thank you very much, I tried that and it seems I was a bit hasty in my assessment.

    There are two problems:

    First, after using it like this I got an error message (from update.php I think) that 'stable' was installed but is not included in drupal 10.
    To get rid of that one would need to uninstall the (unfortunately hidden core-) stable while still in Drupal9 but after installing Classy. So thats not an easy solution.

    Second, on closer inspection I noticed that stable9 is not exactly identical to the old stable. I didn't see any differencesin they layout but in that light I guess one could only recommend using 'at own risk'.

    So what I finally did was to also install the contributes stable theme.
    Probably that was the intended way to go in the first place. I did however not see any advice to do so.
    If I didn't just overlook it could you please think of adding that?

    (PS: I'm not sure if composer simply knows about that dependency, since I'm not able to use that)

Production build 0.71.5 2024