Allow core.extension.yml to have empty profile on install site from existing configuration

Created on 8 May 2019, over 5 years ago
Updated 9 August 2024, 5 months ago

Problem/Motivation

The install sites from existing configuration feature need all the sites to have the same profile. The reason is the core.extension.yml, where the profile is defined. Drupal doesn't allow to install a site without the profile defined in that file, but nevertheless, the profile can be defined in the installation process.

Solution:

Allow core.extension.yml to be imported without the profile key during the installation process, and inject the install profile as a parameter stored in the $install_state global variable.

Feature request
Status

Needs work

Version

11.0 🔥

Component
Install 

Last updated 7 days ago

No maintainer
Created by

🇪🇸Spain akalam

Live updates comments and jobs are added and updated live.
  • Needs tests

    The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.

  • Needs subsystem maintainer review

    It is used to alert the maintainer(s) of a particular core subsystem that an issue significantly impacts their subsystem, and their signoff is needed (see the governance policy draft for more information). Also, if you use this tag, make sure the issue component is set to the correct subsystem. If an issue significantly impacts more than one subsystem, use needs framework manager review instead.

Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • First commit to issue fork.
  • 🇪🇸Spain Juanjol Navarra

    I fully agree that this needs to be reviewed by a subsystem maintainer. I think it is a change that could have consequences.

    In the meantime I have created an RM with the latest patch so that anyone can add the tests there and make it compatible with 10.3.x and 11.x.

  • Pipeline finished with Success
    5 months ago
    Total: 596s
    #249130
  • Pipeline finished with Failed
    4 months ago
    Total: 174s
    #251404
  • Pipeline finished with Failed
    4 months ago
    #251409
Production build 0.71.5 2024