Closed (outdated)
Project:
Drupal core
Version:
8.9.x-dev
Component:
install system
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
31 Aug 2012 at 17:51 UTC
Updated:
12 May 2021 at 09:50 UTC
Jump to comment: Most recent
Comments
Comment #1
fledev.com commentedNot sure if I get the situation right, module Update - Requires: File, Field, Field SQL Storage and File Module Requires: Field, Field SQL Storage.
The actual state says:
where the second parameter (regarding: definition) - enabling dependencies set to false. This is so because the File module is also enabled and while enabling file, the second two are also enabled.
Another reason can be found at the function description "If TRUE, dependencies will automatically be added and enabled in the correct order. This incurs a significant performance cost, so use FALSE if you know $module_list is already complete and in the correct order."
Please confirm if this issue still occurs in the last D8 clone or please close the issue with the current status.
Comment #2
sunThis is still the case, and the patch in #0 is still the required fix.
We probably want to wait for these two issues to land first though:
#1798732: Convert install_task, install_time and install_current_batch to use the state system
#1331486: Move module_invoke_*() and friends to an Extensions class
Comment #13
quietone commentedThis is now using the ModuleInstaller,
$this->moduleInstaller->install(['update']);, the docs of which state that is gets all the dependencies. That makes this outdated.