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.
Fatal error: Call to a member function isPermanent() on a non-object in /var/lib/drupaltestbot/sites/default/files/checkout/core/modules/image/lib/Drupal/image/Tests/ImageFieldDisplayTest.php on line 272
FATAL Drupal\image\Tests\ImageFieldDisplayTest: test runner returned a non-zero error code (255).
Suspect this is a disk error on the testbot, let's see.
Comments
Comment #1
thedavidmeister CreditAttribution: thedavidmeister commentedComment #2
thedavidmeister CreditAttribution: thedavidmeister commentedComment #3
thedavidmeister CreditAttribution: thedavidmeister commentedComment #5
thedavidmeister CreditAttribution: thedavidmeister commentedComment #6
thedavidmeister CreditAttribution: thedavidmeister commentedneeded reroll
Comment #7
rpsuNo check_plain() left after this patch, so RTBC.
Comment #8
alexpottPatch no longer applies.
Comment #9
stpaultim CreditAttribution: stpaultim commentedReroll
Comment #10
stpaultim CreditAttribution: stpaultim commentedDidn't mean to remove "Novice" tag.
Comment #11
Alan D. CreditAttribution: Alan D. commentedYou accidentally added the file 2089461-6.patch
I find it best to always do something like this to avoid creating patches with the checked out directory :)
git diff > ../patches/patch-file.patch
Comment #12
Alan D. CreditAttribution: Alan D. commentedRe-roll
Comment #14
Alan D. CreditAttribution: Alan D. commentedEven a simple re-roll should be tested. Me bad. \Drupal\Component\Utility\String was already introduced in #2043757: Remove drupal_(string) methods out of diffengine.
Comment #15
Alan D. CreditAttribution: Alan D. commentedComment #16
areke CreditAttribution: areke commentedThe patch doesn't apply anymore. It needs to be rerolled again.
Comment #17
dsdeiz CreditAttribution: dsdeiz commentedRe-rolling.
Comment #18
dsdeiz CreditAttribution: dsdeiz commentedComment #20
deneo CreditAttribution: deneo commentedComment #21
deneo CreditAttribution: deneo commentedComment #22
areke CreditAttribution: areke commentedThe patch applies and changes the check_plain() calls correctly, but let's see if the test bot is happy with the changes.
Comment #23
areke CreditAttribution: areke commentedOk, this looks good. Thank you!
Comment #24
webchickCommitted and pushed to 8.x. Thanks!
Comment #26
thedavidmeister CreditAttribution: thedavidmeister commentedThere are some more calls to check_plain() in:
- core/lib/Drupal/Core/Field/WidgetBase.php
There are references to check_plain() in the docs in:
- core/lib/Drupal/Core/Utility/Token.php
Comment #27
thedavidmeister CreditAttribution: thedavidmeister commentedComment #28
longwaveComment #29
thedavidmeister CreditAttribution: thedavidmeister commentedI'm going to go ahead and RTBC that unless the testbots disagree.
Comment #31
longwavePrevious test result:
Fatal error: Call to a member function isPermanent() on a non-object in /var/lib/drupaltestbot/sites/default/files/checkout/core/modules/image/lib/Drupal/image/Tests/ImageFieldDisplayTest.php on line 272
FATAL Drupal\image\Tests\ImageFieldDisplayTest: test runner returned a non-zero error code (255).
Suspect this is a disk error on the testbot, let's see.
28: 2089461-core-lib-check_plain.patch queued for re-testing.
Comment #32
thedavidmeister CreditAttribution: thedavidmeister commentedComment #33
catchCommitted/pushed to 8.x, thanks!