I am maintaining a D9 site that I inherited. Unfortunately, if I attempt to edit any of the nodes, all the fields of type list_string are empty in the next revision. I did notice that the list_string fields are also showing up empty when I just look at the edit form.
The node data is created by the Webform module and the webform content creator. The issue is not when creating the nodes as that works fine. The issue starts when I am trying to edit the created nodes.
There are no errors in any of the logs. I don’t know what to try next.
Will I have to change the field type of all those fields (70 fields total) to retain the data after editing the nodes?
Can I add something in hook_entity_presave to make sure the values are saved to the next revision?