Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Comment | File | Size | Author |
---|---|---|---|
#14 | 3097108-14.patch | 7.63 KB | JeroenT |
#5 | interdiff.3097108.2-5.txt | 7.79 KB | longwave |
#5 | 3097108-5.drupal.Remove-dblogmodule-BC-layers.patch | 11.49 KB | longwave |
Comments
Comment #2
longwaveComment #3
longwaveComment #5
longwaveComment #6
andypostIt looks good to remove upgrades here to minify work in #3087644: Remove Drupal 8 updates up to and including 88**
Comment #7
catchThis may need to wait on #3097661: No hook_update_last_removed() equivalent for post updates.
Comment #8
BerdirIn #3087644: Remove Drupal 8 updates up to and including 88** (which at least partially overlaps with this issue (this doesn't remove the post_update yet but it does remove its test), I suggested that adding an update function to clean the post update storage could be a follow-up, we could make that one a critical beta blocker, but the mentioned issue is already massive, and adding the API first will block a lot of BC removal issues.
That said, not sure about this, seems a bit strange to remove just the resave hook and one of the multiple update tests.. maybe get the other issue in first and then deal with the leftovers here like the presave hook here?
Comment #9
longwaveThe test tests both the post update hook and dblog_view_presave(). It perhaps should have been two test methods!
We could just remove the second half of the test and dblog_view_presave() here, and leave the rest to the update hooks issue?
Comment #11
andypostUnrelated failure
Comment #12
JeroenTComment #13
JeroenTComment #14
JeroenTPatch no longer applied. Created a reroll.
Comment #15
JeroenTThe patch in #14 still needs to remove the post_update
dblog_post_update_convert_recent_messages_to_view
but that's blocked on #3097661: No hook_update_last_removed() equivalent for post updatesComment #16
BerdirI believe you can simply assume that the post update is gone because we have no tests anymore that run it. And then we can remove them all in #3106666: Remove post updates added prior to 8.8.0
Comment #17
Wim Leers#16: great!
Manually tested: applied the patch and verified that no more
@deprecated
occurrences can be found incore/modules/dblog
.🚢
Comment #18
alexpottCommitted e809a80 and pushed to 9.0.x. Thanks!
Fix unused use.