Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 298250

SiteConfigureForm can install the file module without the field module

$
0
0

Problem/Motivation

Many moons ago we made the field module not required. This subtlety broke an assumption made by \Drupal\Core\Installer\Form\SiteConfigureForm. It does
$this->moduleInstaller->install(['file', 'update'], FALSE); under the impression that all of these modules dependencies are required. This is no longer true.

So if you install the testing profile via Drush core.extension:module looks like:

module:
 dynamic_page_cache: 0
 file: 0
 page_cache: 0
 system: 0
 update: 0
 user: 0
 testing: 1000

Proposed resolution

Add field to the list of modules to install.

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet


Viewing all articles
Browse latest Browse all 298250

Trending Articles