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.
When running the simpletest-7.x-2.x tests, I consistently get Undefined variable: user Notice drupal_web_test_case.php 1321 DrupalWebTestCase->setUpInstall()
in all tests.
Comment | File | Size | Author |
---|---|---|---|
#7 | simpletest_undefined_variable_user_976838_7.patch | 505 bytes | BR0kEN |
#1 | 976838_1_notice_user.patch | 762 bytes | scor |
Comments
Comment #1
scor CreditAttribution: scor commentedComment #2
lyricnz CreditAttribution: lyricnz commentedThis issue still in 7.x-2.0. Patch works. However simpletest is in core in D7.
Comment #3
thelee CreditAttribution: thelee commentedWhen will this get rolled into a recommended release? At least for me, this is a killer issue for 7.x-2.0 as it causes any DrupalWebTestCase to "fail" due to this php notice.
Comment #4
thelee CreditAttribution: thelee commentedHello?? What's necessary to get this patch moving along? Does literally no one use 7.x-2.x Simpletest?
Comment #5
Dave ReidNo, most people use the version of SimpleTest included with Drupal core.
Comment #6
thelee CreditAttribution: thelee commentedStill - is there anything I can do to kick this process along? Having a "recommended release" with such a game-breaking bug seems no good...
Comment #7
BR0kENI hope that the modifications will be merged to core.
Comment #8
coderintherye CreditAttribution: coderintherye commentedAny reason to not roll this in? It does fix the primary problem.
If not into mainline could we at least get it committed to dev?
Comment #9
John Franklin CreditAttribution: John Franklin commentedWhen SimpleTest doesn't pass its own tests, it becomes hard to convince clients to use it. Please commit this soon.
Comment #11
BR0kEN