- 🇷🇺Russia batkor Irkutsk
Patch #3 worked for me.
Drupal version : 10.1.6
drupal/metatag: 1.26.0
Currently, when a content editor editor is editing a node and purposefully removes a metatag field value for that node, the empty value does not get saved and does not override the configured default value.
massageFormValues()
method of Drupal\metatag\Plugin\Field\FieldWidget\MetatagFireHose
,, don't remove empty values for individual fieldspreSave()
method of Drupal\metatag\Plugin\Field\FieldTypeMetatagFieldItem
, update code so that the entity tag field value is removed from the serialized string when either a default value exists and doesn't match or the default value doesn't exist but the entity value is empty.
Needs review
1.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
Patch #3 worked for me.
Drupal version : 10.1.6
drupal/metatag: 1.26.0