Closed (fixed)
Project:
Drupal core
Version:
9.3.x-dev
Component:
update.module
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
11 Mar 2019 at 09:50 UTC
Updated:
7 Jul 2021 at 01:19 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
claudiu.cristeaPatch.
Comment #3
claudiu.cristeaExtending also to
_update_manager_extract_directory()and_update_manager_cache_directory().Comment #8
tedbowWhile good, I think these changes to add "string" I think are unrelated.
Guess it just matters if we think a committer will kick this back to Needs Work for this.
Comment #9
longwaveAddressed #8.
Comment #10
tedbowLooks good to me!
Comment #12
effulgentsia commentedThe only hypothetical use for resetting these that I can think of is if you wanted to write multiple kernel tests for
UpdateManagerInstall, and didn't want them to share the same extract or cache directories (so that for example, a download from one test didn't carry over into a different test). However, we can cross that bridge if/when it comes up. E.g., by either writing functional tests instead, or refactoring these functions into a mockable service.In the meantime, this is a good step, so pushed to 9.3.x.