- π©πͺGermany e5sego
After some testing it seems a cache issue. Image captions which seemed to be lost (booth in view or edit node mode) re-appeared after cache clear.
I'm working on a content type with different form displays. One specifically for workflow. When using a form display that doesn't include a field that has image_field_caption the caption data is lost.
Save an entity with image_field_caption data. Update the form display and move the field that has caption data to disabled. Now edit and save the entity again. The data is lost.
When testing I noticed that the code checks for $value['image_field_caption']['value']
. That is not available when the field is disabled because it is attached to the field widget. But $value['caption']
and $value['caption_format']
look like they are still there.
Come up with a proper solution.
Active
1.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
After some testing it seems a cache issue. Image captions which seemed to be lost (booth in view or edit node mode) re-appeared after cache clear.