$install_state['settings_verified'] incorrectly set when config_sync_directory is missing

Created on 3 November 2021, over 2 years ago
Updated 10 February 2023, over 1 year ago

Problem/Motivation

Got stuck trying to create a config only profile where it would fail to install.

@alexpott helped debug in a gitpod and found It was because core is never submitting \Drupal\Core\Installer\Form\SiteSettingsForm due to an incorrectly determined state for $install_state['settings_verified'] = TRUE;

By unsetting the hash salt in the ddev settings Alex forced it to think it needs to submit the SiteSettingsForm - which then sets the config directory as expected.

I also needed to comment out the hash_salt in settings.php and the config_sync_directory's defined in settings.ddev.php to be able to run the site install.

Steps to reproduce

This is reproducible in the following gitpod https://gitpod.io/#https://github.com/Realityloop/starterkit-drupal-foun...

Proposed resolution

Correctly determine and set $install_state['settings_verified'] when config_sync_directory is missing

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

πŸ› Bug report
Status

Fixed

Version

9.5

Component
ConfigurationΒ  β†’

Last updated less than a minute ago

Created by

πŸ‡¦πŸ‡ΊAustralia realityloop

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

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

Production build 0.69.0 2024