🇭🇷Croatia @abaudoin

Account created on 17 April 2019, over 5 years ago
#

Recent comments

🇭🇷Croatia abaudoin

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.

🇭🇷Croatia abaudoin

@jmauricio

Yeah, the configuration is correct, paragraph translations work except in the scenario I've written in the opening ticket.

🇭🇷Croatia abaudoin

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.

🇭🇷Croatia abaudoin

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.

Production build 0.71.5 2024