Closed (fixed)
Project:
Drupal core
Version:
main
Component:
update.module
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
27 Jul 2026 at 03:21 UTC
Updated:
12 Aug 2026 at 13:15 UTC
Jump to comment: Most recent
Follow up to #3591513: Deprecate the update_fetch_with_http_fallback setting
Actual removal happens here.
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 #4
macsim commentedMy concern is that I had to remove
testRealDeprecatedSettingsand its data provider fromSettingsTest. The test verifies that a deprecated setting with no replacement triggers a deprecation when present insettings.php. It requires at least one real entry in$deprecatedSettingsto run.update_fetch_with_http_fallbackwas the only such entry. With it gone, the provider returns nothing and the test cannot run.The correct fix would be to keep the test and point it at another setting that is deprecated without replacement. No such setting appears to exist for the Drupal 12 transition. If one is added later,
testRealDeprecatedSettingsandproviderTestRealDeprecatedSettingsshould be restored with the new entry as test data.Another thing: PHPUnit failure is not related to the current changes.
Comment #5
mstrelan commentedFWIW the test method used to have
$this->markTestSkipped('No settings to test real deprecated settings with.');, which we could/should do now too.Theoretically we could put a test value in
\Drupal\Core\Site\Settings::$deprecatedSettingsor manipulate that in the test with reflection. And now that I am writing this I see we already have\Drupal\Tests\Core\Site\SettingsTest::testFakeDeprecatedSettings.I think the simplest path forward is to restore the test skipping. Ideally it would only be skipped if the property was empty, but since it's private we can't check that without reflection. That might be worth doing though, so next time a setting is deprecated we don't have to remember to unskip the test.
Comment #6
mstrelan commentedRestored and skipped testRealDeprecatedSettings. Forget what I said in #5, I think that's too much trouble with the data provider.
Comment #7
smustgrave commentedSeems like a good removal. And thanks for not removing that as it will be good reference for others later.
Tagging the parent issue.
Comment #8
quietone commentedComment #10
catchCommitted/pushed to main, thanks!