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.
Discovered in #1818570: Convert users to the new Entity Field API, patch coming in a second.
Comment | File | Size | Author |
---|---|---|---|
#2 | drupal-1986528-2.patch | 2.94 KB | dawehner |
#1 | phpunit-fatal-get-info-1986528-1.patch | 849 bytes | Berdir |
Comments
Comment #1
BerdirThis at least fails with an actual, readable error message instead of a fatal error.
Comment #2
dawehnerWhile writing a test I realized that there is another problem.
Comment #4
BerdirPHP Fatal error: Call to undefined function Drupal\simpletest\Tests\debug()
:)
Comment #5
ParisLiakos CreditAttribution: ParisLiakos commentedjust hit this
#1 looks like a great improvement over this:)
Comment #6
dawehnerIt feels like this is not really possible to test properly. Maybe #1 itself is good enough.
Comment #7
tsphethean CreditAttribution: tsphethean commentedI just hit this too and the patch in #1 got me from fatal exception to useful error message - I'd vote for getting #1 in if possible.
Comment #8
vlad.leo CreditAttribution: vlad.leo commented#2: drupal-1986528-2.patch queued for re-testing.
Comment #10
Berdir#1: phpunit-fatal-get-info-1986528-1.patch queued for re-testing.
Comment #11
dawehnerLet's just get #1 in.
Comment #12
alexpottCommitted 8cb7ab8 and pushed to 8.x. Thanks!