- Issue created by @msypes
- πΊπΈUnited States DamienMcKenna NH, USA
Thank you for the bug report.
Have you tested to see if the problem happens with other metatag forms?
- πΊπΈUnited States msypes
No, I did not. I was looking to solve a particular caching issue and tripped over this. I hadn't previously used the module.
- πΊπΈUnited States Kasey_MK
Can confirm that the plain value '0' isn't stored on the other metatag forms either (e.g., /admin/config/search/metatag/node). Not only is the metatag
<meta http-equiv="Expires" content="0">
not created on the page output, the value isn't stored in the form itself; re-opening the form reveals an empty field. - πΊπΈUnited States DamienMcKenna NH, USA
This would happen because some of the logic uses empty() to check if the value is set, rather than checking to see if it's blank. So, if you look around for uses of empty() you'll probably find the source of the problem.