Problem/Motivation
\Drupal\Core\Cache\Cache::keyFromQuery is an old weird method for cache key generation from the forum migration that has been replaced by better methods. No uses have existed in core since 2015 and the only use in contrib never got a release so its a solid cleanup.
Steps to reproduce
Its just removing cruft.
Proposed resolution
Deprecate and remove.
Remaining tasks
User interface changes
n/a
API changes
removes dead cache class method so technically.
Data model changes
n/a
Release notes snippet
tbd
| Comment | File | Size | Author |
|---|---|---|---|
| #9 | interdiff_6-9.txt | 1.58 KB | spokje |
| #9 | 3308507-9.patch | 2.28 KB | spokje |
Comments
Comment #2
neclimdulboom, easy patch. Going bold since this is just some really old dead code and patches for a 9.5 removal?
Comment #3
neclimdulright, clean up the use. good catch testbot.
Comment #4
spokje- Rationale for deprecating/removing explained in IS.
- Code changes make sense.
- TestBot is green.
- Code changes and green TestBot show that the method isn't used in core.
The only thing I'm wondering about is if were still on time to do this deprecation/removal in 9.5/10.0 or did we miss the window and this has to be 10.0/10.1.
RTBC for me and we'll await the verdict of the core committers on my last remark,
Comment #5
catchMuch as I'd love to be rid of it, this needs to be 10.1 for removal in 11.0.
Comment #6
neclimdulFigured but wanted to try. Here's the deprecation for 10.1. Removal will have to wait.
Comment #7
longwaveThe @see references should point to a change record, not an issue.
Comment #8
spokjeAdded draft CR
Comment #9
spokjeUpdated deprecation message to point to CR instead of this issue.
Comment #11
catchArgghh I got confused about the issue status while reviewing the patch again and committed this from needs review. However since it was already RTBC before and the only changes have been version numbers and where the link points to.... going to leave it in.
Comment #12
spokjeWorks for me ;)