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.
Problem/Motivation
The default value is NULL, but assertTrue() expects a string.
Steps to reproduce
The only usage in core has an explicit value, so we didn't notice.
Proposed resolution
Change the default to ''. Also for the Not method.
Remaining tasks
User interface changes
API changes
Data model changes
Release notes snippet
Comment | File | Size | Author |
---|---|---|---|
#5 | 3221966-5.patch | 1.26 KB | anweshasinha |
#2 | 3221966-2.patch | 1.79 KB | guilhermevp |
Comments
Comment #2
guilhermevp CreditAttribution: guilhermevp at CI&T commentedSending patch, please review.
Comment #3
Berdirlooks like you accidently added this line in here, that shouldn't be in the patch.
Comment #4
anweshasinha CreditAttribution: anweshasinha at Valuebound commentedI am working on it
Comment #5
anweshasinha CreditAttribution: anweshasinha at Valuebound commentedComment #6
BerdirComment #7
guilhermevp CreditAttribution: guilhermevp at CI&T commentedSorry @Beredir, I was in a MR branch and forgot to checkout. Now, the patch seems fine! Moving to RTBC.
Comment #10
catchCommitted/pushed to 9.3.x and cherry-picked to 9.2.x, thanks!