#2669016: Ensure that removing Commerce modules removes their configuration has now landed. It has shown that incorrect config dependencies can cause Commerce to leave config objects on uninstall, making it impossible to install it again later.

We should create a test that ensures Commerce can be reinstalled.
We'd ensure $modules contains all Commerce modules.
We'd then use \Drupal::service('module_installer')->uninstall() to first remove Commerce, then ->install() to install it again.

Comments

bojanz created an issue. See original summary.

harings_rob’s picture

Assigned: Unassigned » harings_rob
harings_rob’s picture

Status: Active » Needs review

  • bojanz committed 1826727 on 8.x-2.x authored by harings_rob
    Issue #2677932 by bojanz, harings_rob: Add a test for reinstalling...
bojanz’s picture

Status: Needs review » Fixed

Committed, thanks!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.