Since the release of Drupal 8.6.10 demo content import using the default_content module will fail with an error to the likes of:
The generic FieldItemNormalizer cannot denormalize string values for "settings" properties of the "example_field" field (field item class: Drupal\Core\Field\Plugin\Field\FieldType\StringLongItem).
They had the same issue in the paragraphs module: https://www.drupal.org/project/paragraphs/issues/3034598
I believe it was fixed with a single patch but it's not obvious to me how to fix it in the Formatter Field module.
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | formatter-field-3036109-5.patch | 434 bytes | chi |
Comments
Comment #2
jurriaanroelofs commentedComment #3
Raman Starshykh commentedComment #4
linichalexey commentedComment #5
chi commentedQuick fix.
Comment #7
jessehsI found that this change caused fatal errors on a site that had existing data. In order to fix the problem, I wrote this custom hook_update_N function inside of a custom module on the platform. I realize that this module should probably be updated with a more extensible solution that would update *all* fields that were created by this module. However, in keeping with the "Quick fix" above, I opted just for a one-off update:
Comment #8
chris matthews commentedIt looks like the patch in #5 was already committed without being RTBC. Should this issue be closed and a new issue opened (if necessary) to address @jessehs' comment in #7?
Comment #9
jurriaanroelofs commented