When generating the display mode form the ds field plugin instances do not get the info on which formatter is set. This causes summaries to fail for custom DSFields. We noticed this when using the display_field_copy module as it wouldn't generate the correct summary.
See also issue on that project: #2822398-5: Copied field does not have widget field settings.
This can be fixed in field_ui.inc at line 1117 by adding:
if (isset($field_settings[$key]['formatter'])) {
$field['formatter'] = $field_settings[$key]['formatter'];
}
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | ds-formatter-info-lost-2877276-2.patch | 503 bytes | kriboogh |
Comments
Comment #2
kriboogh commentedHere's a patch
Comment #3
davidwbarratt commentedComment #4
aspilicious commentedComment #6
aspilicious commented