When a translated node is duplicated with no translation, the paragraphs are still translated

Created on 6 November 2024, 3 months ago

Problem/Motivation

When duplicating a translated node, but duplicating only some translations (using the patch from Allow Editors to choose whether to replicate all translations or only default language Needs work ), the translations of the paragraphs are still kept.

Steps to reproduce

Create a node with a translation. The node should contain a paragraph inside of another paragraph that allows nesting.
Duplicate the node, not keeping the translation (only the original language).
Go to the new node, to the translation language.
You see the translations from the original node, instead of the original language.

Proposed resolution

Fix in the onClone function.

Remaining tasks

Tests

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

1.0

Component

Code

Created by

🇨🇭Switzerland mathilde_dumond

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024