apigee / apigee-devportal-kickstart-drupal

A fast demo and starting point for Apigee Developer Portals for Drupal
https://www.drupal.org/project/apigee_devportal_kickstart
GNU General Public License v2.0
26 stars 34 forks source link

Update apigee_devportal_kickstart_update_9002 fails when themes and modules are already uninstalled #669

Closed bhanu951 closed 7 months ago

bhanu951 commented 7 months ago

Description

Update apigee_devportal_kickstart_update_9002 fails when themes and modules are already uninstalled

Steps to Reproduce

Steps to reproduce the behavior:

  1. Setup a site without Update 9002 applied.
  2. Uninstall deprecated themes ('seven', 'bartik') and modules ('hal', 'color').
  3. Run Update 9002
  4. Update 9002 fails due to modules and themes not installed.

Actual Behavior

Update 9002 fails due to modules and themes not installed.

Expected Behavior

Update 9002 need to proceed without errors.

Suggested Fix

This issue can be fixed by adding a check if the modules and themes are installed before uninstalling them.