- last update
over 1 year ago Patch Failed to Apply
When using a metatag field for a content type, that supports content translation and uses content moderation, the translation cannot be saved and is blocked by the error message:
Non-translatable fields can only be changed when updating the original language.
It only happens, when the translation for the metatag field is not enabled.
Steps to reproduce
metatag
and Core's content_translation
and content_moderation
/admin/config/regional/language
/admin/structure/types/manage/article
/admin/structure/types/manage/article/fields
The issue can be workaround, by enabling the field translation for the metatag field from /admin/structure/types/manage/article/fields
There are good reasons, to make the metatag field translatable, but as I'm using tokens only in metatags, I didn't thought it is necessary and so the issue was not quite obvious for me.
Needs work
1.0
Code
The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.