Closed (fixed)
Project:
Drupal core
Version:
9.3.x-dev
Component:
file system
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
9 Jul 2021 at 15:18 UTC
Updated:
30 Jul 2021 at 11:29 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
kim.pepperRemoved usages in core.
Comment #3
daffie commentedThe patch looks good, only the deprecation message test is missing.
Comment #4
daffie commentedCreated a CR.
The patch also needs to link to the CR.
Comment #5
kim.pepperTagging
Comment #6
kim.pepperAdds deprecation test and links to CR.
Comment #7
andypostLooks ready
Comment #8
berdirthis is linking to the issue, not the CR.
I reviewed and updated the CR a bit to clarify, that in many cases, you should either provide configuration that includes the scheme or if the path is hardcoded, you don't need to normalize it.
Comment #9
kim.pepperOops! Good catch.
Comment #10
berdirThanks, back to RTBC then.
Comment #11
berdirFWIW, system_retrieve_file() is another thing we should deprecate, maybe with, maybe without exact replacement. It's one of those helper functions that directly display messags and can't be used with proper error handling. But that's very much a separate issue and might already have one.
Comment #12
kim.pepperCreated #3223205: deprecate system_retrieve_file() without replacement as a follow up.
Comment #13
berdirAccidental status change I asusme?
Comment #14
kim.pepperYes. My mistake.
Comment #16
catchGood idea to just remove, doesn't even meet the rule of three in core.
Committed d6e4a29 and pushed to 9.3.x. Thanks!
Comment #17
andypostThe issue only remaining left! Great job