Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
- Create a node with source language english, give it custom meta
- create a translation of a node in french (for example) in a new revision, give it custom meta
- create a new revision of the english version while reverting to the default metatag
Bug: the french version is loosing its custom meta
Comment | File | Size | Author |
---|---|---|---|
#6 | metatag-n2285787-6.patch | 3.67 KB | DamienMcKenna |
Comments
Comment #1
SebCorbin CreditAttribution: SebCorbin commentedAnother maybe related bug:
Bug: another revision is created, but the english version has the french custom meta
Comment #2
SebCorbin CreditAttribution: SebCorbin commentedPatch solving the first problem. Just state your mind, don't commit, I've still some performance improvements to do.
Also if you could explain this part (line 426):
That's actually what's causing the second bug (but in the same function)
Comment #3
SebCorbin CreditAttribution: SebCorbin commentedAnd here is another one, with performance fix and trying to mitigate "these certain occasions"
Comment #4
SebCorbin CreditAttribution: SebCorbin commentedTypo here
Comment #5
DamienMcKennaWe actually have a category for internationalization/multilingual support :)
Thanks for putting this together, I'll review it shortly.
Comment #6
DamienMcKennaMinor tweak.
Comment #7
DamienMcKennaData loss == critical, sorry for not noticing that earlier.
Comment #8
rmunsky CreditAttribution: rmunsky commentedMaybe it is not related to this issue but we have a similar behaviour.
Even if we have just activate ML settings on a node so we can specify a language there but no translation the custom meta data gets deleted after a node gets published with the scheduler module.
Could you give me some information if this post here is related to this? Its, sure, also kind of very important for us not to loose the custom meta data when getting a ml enabled node live.
Comment #9
rmunsky CreditAttribution: rmunsky commentedan update: if i save a node with set schedule settings before it gets published automatically, the meta data remains to be there properly.
Comment #10
DamienMcKenna@rmunsky: Did you test the patch above?
Comment #13
DamienMcKennaCommitted (twice, because I forgot to give proper attribution to Seb). Thanks SebCorbin!