wse_config breaks Drush config commands

Created on 2 January 2025, 18 days ago

Problem/Motivation

The wse_config module causes (most of) Drush's config commands--specifically, those defined in \Drush\Commands\config\ConfigCommands--to disappear.

Steps to reproduce

# Before: expected.
$ drush | "  config:"
  config:delete (cdel)                                   Delete a configuration key, or a whole object(s).
  config:edit (cedit)                                    Open a config file in a text editor. Edits are imported after closing editor.
  config:export (cex)                                    Export Drupal configuration to a directory.
  config:get (cget)                                      Display a config value, or a whole configuration object.
  config:import (cim)                                    Import config from the config directory.
  config:pull (cpull)                                    Export and transfer config from one environment to another.
  config:set (cset)                                      Save a config value directly. Does not perform a config import.
  config:status (cst)                                    Display status of configuration (differences between the filesystem and database).


# With Workspaces Config: missing commands.
$ drush --yes pm:install wse_config
$ drush | "  config:"
  config:export (cex)                                    Export Drupal configuration to a directory.
  config:import (cim)                                    Import config from the config directory.
  config:pull (cpull)                                    Export and transfer config from one environment to another.


# Uninstall Workspaces Config: back to expected.
$ drush --yes pm:uninstall wse_config
$ drush | "  config:"
  config:delete (cdel)                                   Delete a configuration key, or a whole object(s).
  config:edit (cedit)                                    Open a config file in a text editor. Edits are imported after closing editor.
  config:export (cex)                                    Export Drupal configuration to a directory.
  config:get (cget)                                      Display a config value, or a whole configuration object.
  config:import (cim)                                    Import config from the config directory.
  config:pull (cpull)                                    Export and transfer config from one environment to another.
  config:set (cset)                                      Save a config value directly. Does not perform a config import.
  config:status (cst)                                    Display status of configuration (differences between the filesystem and database).

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

-->

πŸ› Bug report
Status

Active

Version

2.0

Component

Workspace Config

Created by

πŸ‡ΊπŸ‡ΈUnited States traviscarden

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024