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.
Site admins sometimes get memory exhausted errors and then it's hard to find which specific check is causing the problem (e.g. #2815487: Fatal error when running the review).
If security review logged the beginning of each step then it would be easier to find the problem.
Comment | File | Size | Author |
---|---|---|---|
#14 | 2897949-14.patch | 686 bytes | smustgrave |
#6 | 2897949-log-beginning-of-steps-5.patch | 1.53 KB | greggles |
#2 | 2897949-log-beginning-of-steps.patch | 1.39 KB | greggles |
Issue fork security_review-2897949
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
gregglesComment #3
gregglesThere is a somewhat unrelated change here of ! to @ for placeholders and using the variable (title, name) value to guide the name of the placeholder.
This will break any translations of those strings, but that seems OK/worth it to me.
Comment #4
gregglesTypo in here of using @name twice when it should be @title in one case.
Comment #5
dpintats CreditAttribution: dpintats commentedLooks like the line
$variables = array('@name' => $check['title'], '@name' => $check_name);
has '@name' as both placeholders. The rest looks good though.Comment #6
gregglesUpdated to reflect the point David Pintado found :)
Comment #8
gregglesNow committed to 7.x.
Would be ideal to port this to 8.x, so updating metadata.
Comment #9
vuil@greggles
Sorry but this patch (7.x) functionality does not need to be integrated on 8.x-1.x-dev branch.
I close the issue as Fixed, and set it back to 7.x-1.x-dev version. Thank you!
Comment #10
gregglesHI Ilcho - thanks for your perspective. Could you clarify why you think that?
Comment #11
smustgrave CreditAttribution: smustgrave commentedWonder if or where this should go into 2.x branch now that things have changed?
Comment #12
gregglesI think it's still useful as people still report running out of memory during execution of the checks.
Comment #13
gregglesAnd sure, 2.0.x-dev seems like a good spot for it to me. It's not a critical feature to support in all branches.
Comment #14
smustgrave CreditAttribution: smustgrave commentedThis covers it?
Comment #15
gregglesI didn't test it, but yes, that looks good to me.
Comment #18
smustgrave CreditAttribution: smustgrave commented