- Issue created by @lobodacyril
- Status changed to Needs review
over 1 year ago 10:01am 29 March 2023 - πΊπ¦Ukraine lobodacyril
I've noticed that TMGMT supports nested revisionable reference fields by this code:
$target_save = FALSE; $target_entity->needsSave();
So it has to be postpone saving but since $target_entity->needsSave(); doesn't set needsSave property and just return in, it doesn't work. So the code should be the next:
$target_save = FALSE; $target_entity->setNeedsSave(TRUE);
I'm not sure why it works for Nodes but this change works for Products and for Nodes.
- π¬π·Greece DiyanDev
Had excactly the same issue, the patch indeed seems to be working.
The preview feature is still not translating paragraphs tho. - Status changed to RTBC
5 months ago 11:58am 22 July 2024 - π©πͺGermany a.dmitriiev
I have the same issue even with nodes and paragraphs. I have also found the same solution as in MR and patch. I confirm that with
setNeedsSave(TRUE)
change, that really sets the value instead of `needsSave();` that only returns the value, everything works fine.Setting the issue status to "reviewed & tested".
- Status changed to Closed: duplicate
4 months ago 9:31pm 3 September 2024 - π¨πSwitzerland berdir Switzerland
Committed patch from π Paragraphs translations aren't always updated Fixed