Problem/Motivation
I tried tagging 1.6 but the phpunit job is failing so we should fix that before creating the release: https://git.drupalcode.org/project/config_override_warn/-/jobs/11195892
Steps to reproduce
Proposed resolution
Remaining tasks
User interface changes
API changes
Data model changes
Issue fork config_override_warn-3613444
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
Comment #2
prudloff commentedThe failing tests are using SiteInformationForm.
Since #1503146: Aliased paths cannot be set as front page, this form does not have getEditableConfigNames() anymore. (But it uses #config_target so it works with core's warning: #3462541: Difference with what is now in core?)
I see two possible solutions:
Comment #5
velmir_taky commentedThe failure comes from core #1503146:
SiteInformationFormdropped its owngetEditableConfigNames()and now usesRedundantEditableConfigNamesTrait, whichreturns []. SoFormOverridesfinds no config names for it and the foursystem.sitedata sets inFormOverridesTestfail (Tests: 9, Failures: 4, "Actual: Array &0 []") — matching the job on 11.4.4.Went with option 2 (stop using that core form in the test). Added a small
TestSiteInformationForm (ConfigFormBase, getEditableConfigNames() returns ['system.site'])in the test namespace and pointed the data provider at it.Same code path, decoupled from core form changes. No module code change — supporting
#config_targetwould duplicate core's own warning (#3462541).Comment #6
velmir_taky commentedComment #8
prudloff commentedLooks good, thanks!