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.
field.module#list_field_formatter_view()
includes this code: $output = field_filter_xss($value);
.
However $value
is not defined in this function.
It should probably be $output = field_filter_xss($delta);
instead.
Comment | File | Size | Author |
---|---|---|---|
#7 | list_formatter.patch | 771 bytes | fgm |
#1 | list_formatter.patch | 763 bytes | fgm |
Comments
Comment #1
fgmSuggested patch.
Comment #3
fgmNo comprendo: the error is
- "The test did not complete due to a fatal error."
- "Completion check"
- "options.test 291"
- "OptionsWidgetsTestCase->testSelectListMultiple()"
But in the latest version (1.10 of options.test), there is no test at line 291 and no test called "Completion check" in
OptionsWidgetsTestCase::testSelectListMultiple()
Comment #4
fgmOK, so line 291 is where testSelectListMultiple() starts, and "Completion check" is within DrupalWebTestCase.
Anyway, tested again on the latest head, and it works, so requesting re-test.
Comment #5
fgm#1: list_formatter.patch queued for re-testing.
Comment #6
yched CreditAttribution: yched commented$value should be $item['value']
Comment #7
fgmRerolled.
Comment #8
yched CreditAttribution: yched commentedThks !
Comment #9
Dries CreditAttribution: Dries commentedCommitted to CVS HEAD. Thanks.