Closed (fixed)
Project:
Drupal core
Version:
10.0.x-dev
Component:
book.module
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
9 Feb 2022 at 12:08 UTC
Updated:
26 Feb 2022 at 07:34 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
longwaveComment #3
tmaiochi commentedI'll review this
Comment #4
tmaiochi commentedSteps performed:
(1) Installed module
(2) Reproduced the issue.
(3) Applied patch.
(4) Code review on changes.
(5) Tested again with patch, issue resolved.
The patch removed all deprecated code from Book module, and everything still working as far as I can test it
Comment #7
catch@tmaiochi this issue is removing deprecated code that doesn't run when book module is installed, it would only run if another module depended on it. So, there's no need for manual testing, and no bug to reproduce - posting those as steps actually makes it look like less review happened rather than more.
To get contribution credit for reviewing an issue like this, there are really only a couple of things that need doing:
- A visual review of the patch just to check it's only removing code that's deprecated, and that the code is deprecated for removal in Drupal 10 (it's not impossible to have code deprecated for removal in Drupal 11).
- A quick grep/look over of book module to make sure there's no deprecated code left in it once the patch is applied. For example if a test is removed that uses a fixture, it's possible the fixture could be removed if it's not used by any other tests.
So, I haven't assigned contribution credit for this issue, but hopefully this will help with reviewing similar issues in the future.
Patch looks good and the test fail is unrelated.
Committed f431117 and pushed to 10.0.x. Thanks!