Problem/Motivation

I'm facing this error after running drush updb with Drupal core 10.1.6:

// Do you wish to run the specified pending updates?: yes.                                                             
>  [notice] Update started: varbase_security_update_90004
>  [error]  Class "ModuleInstallerFactory" not found 
>  [error]  Update failed: varbase_security_update_90004 
 [error]  Update aborted by: varbase_security_update_90004 
 [error]  Finished performing updates.

Follow up issue after #3400136: Refactor updates for Varbase Core by moving hook updates to include/updates with load Include based on major branches

Proposed resolution

Add use Vardot\Installer\ModuleInstallerFactory;

Remaining tasks

  • ✅ File an issue about this project
  • ✅ Addition/Change/Update/Fix to this project
  • ✅ Testing to ensure no regression
  • ➖ Automated unit/functional testing coverage
  • ➖ Developer Documentation support on feature change/addition
  • ➖ User Guide Documentation support on feature change/addition
  • ➖ UX/UI designer responsibilities
  • ➖ Accessibility and Readability
  • ✅ Code review from 1 Varbase core team member
  • ✅ Full testing and approval
  • ✅ Credit contributors
  • ✅ Review with the product owner
  • ✅ Update Release Notes and Update Helper on new feature change/addition
  • ✅ Release varbase-9.0.17, varbase_core-9.0.79,varbase-9.1.0, varbase_core-9.1.14, varbase-10.0.0-rc1, varbase_core-10.0.3

Varbase update type

  • ✅ No Update
  • ➖ Optional Update
  • ➖ Forced Update
  • ➖ Forced Update if Unchanged

User interface changes

  • N/A

API changes

  • N/A

Data model changes

  • N/A

Release notes snippet

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

RaniaMashaqbeh created an issue. See original summary.

raniamashaqbeh’s picture

Assigned: raniamashaqbeh » Unassigned
Status: Active » Needs review
raniamashaqbeh’s picture

  • RaniaMashaqbeh committed b492058d on 9.1.x
    Issue #3404913: Fix Class ModuleInstallerFactory not found when updating
rajab natshah’s picture

Issue summary: View changes

rajab natshah’s picture

Issue summary: View changes
Status: Needs review » Fixed
Issue tags: +varbase-9.0.17, +varbase_core-9.0.79, +varbase-9.1.0, +varbase_core-9.1.14, +varbase-10.0.0-rc1, +varbase_core-10.0.3
rajab natshah’s picture

Issue summary: View changes

✅ Released varbase_core-9.0.79

rajab natshah’s picture

Issue summary: View changes

✅ Released varbase_core-9.1.14

rajab natshah’s picture

Issue summary: View changes
rajab natshah’s picture

Issue summary: View changes

✅ Released varbase_core-10.0.3

rajab natshah’s picture

Issue summary: View changes
rajab natshah’s picture

Issue summary: View changes

✅ Released varbase-9.0.17

rajab natshah’s picture

Issue summary: View changes

✅ Released varbase-9.1.0

rajab natshah’s picture

Issue summary: View changes

✅ Released varbase-10.0.0-rc1

Status: Fixed » Closed (fixed)

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