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.
The docblock of the $value parameter states that it's of string type but in fact it is not.
https://git.drupalcode.org/project/drupal/-/blob/9.1.3/core/lib/Drupal/C...
Comment | File | Size | Author |
---|---|---|---|
#5 | 3196050-5.patch | 831 bytes | anmolgoyal74 |
Comments
Comment #2
Shashwat Purav CreditAttribution: Shashwat Purav at QED42 for Drupal Association commentedComment #3
Shashwat Purav CreditAttribution: Shashwat Purav at QED42 for Drupal Association commentedComment #4
Shashwat Purav CreditAttribution: Shashwat Purav at QED42 for Drupal Association commentedComment #5
anmolgoyal74 CreditAttribution: anmolgoyal74 at OpenSense Labs for DrupalFit commentedComment #6
Shashwat Purav CreditAttribution: Shashwat Purav at QED42 for Drupal Association commentedThank you @anmolgoyal74 for the patch.
Comment #7
sulfikar_s CreditAttribution: sulfikar_s at Zyxware Technologies commentedHi, I've tested the patch on #5, and is working correctly. It changes the string to mixed.
Changing the status to RTBC!
Comment #8
alexpottCommitted 1749b10 and pushed to 9.2.x. Thanks!
Will backport to 9.1.x once the bugfix release is out.
Comment #10
alexpottBackported to 9.1.x