Patch #14 works in all cases except when a piece of content was affected with the bug before.
Example: I don't have the patch applied yet. I translate an article in German, French and Spanish and get the bug in question - Spanish not translated. I apply the patch, try to retranslate all languages again - Spanish remains unchanged and in original language. I try to retranslate only Spanish - it works.
For newly created content patch works as expected.
abaudoin → created an issue.
Hey @jmauricio, thanks for the patch. I'll test it a bit tomorrow.
@jmauricio
Yeah, the configuration is correct, paragraph translations work except in the scenario I've written in the opening ticket.
Last patch (orphaned-paragraphs-09012024.patch) is only if you've already had some paragraphs that were created before the issue was patched. In that case the untranslated paragraphs were always displayed because they actually have a translation but it just isn't displayed on the node. The patch omits the check if the paragraph has a translations, and just translates is again, overriding it.
After additional research I came up with a patch that seems to work in my particular situation, but to be honest I'm not quite sure why exactly and where the error lies. Still needs review. Patch attached.
abaudoin → created an issue.
abaudoin → created an issue.
abaudoin → created an issue.