I have Meta Tags: Context enabled and I'm editing an existing tag (by path) via the module config (Configuration > Meta Tags)
When I edit the existing description and hit save, the meta description is updated.
However, if I delete the content in the field and hit save, the meta description does not update.
When I click to edit the tag again, the previous value is still in the meta description field.
Only when I delete the contents of the field and add a space will the meta description update as empty be hidden from the page source.
Comments
Comment #1
damienmckennaComment #2
plopescHello
I think the problem is related to line 157 in metatag_context.admin.inc file.
When using array_merge, old form values overrides deleted values, which does not appear in
$form_state['values']['metatags'].Attaching patch that works for me.
Regards
Comment #3
plopescChanging status
Comment #4
damienmckennaComment #5
plopescStatus againComment #6
damienmckennaGood catch, thank you. Committed!
Comment #7
damienmckennaNow that v7.x-1.0-beta7 is out, I'm closing this in the interest of keeping the issue queue clean.