cms
cms copied to clipboard
[5.x]: Copy/Paste nested entries inside matrix fields does not respect translation methods for fields
What happened?
Description
In a multi-site environment, "Copy" a nested entry with translated field in site A, "Paste" does not retain the translated field content, but uses the content from site A everywhere.
Steps to reproduce
- Multi-site with two sites, en/de
- Setup a matrix-field with an entry type containing a field with translation method per site/per language.
- Create an entry with translated content for this field.
- "Copy" nested entry when editing in site "EN"
- "Paste" and switch to site "DE"
- Result: The field has content from site "EN" instead from "DE"
Expected behavior
Translated content should be retained.
Actual behavior
The content from the site the "COPY" action was invoked is inserted to all sites.
Craft CMS version
Craft Solo 5.7.10
PHP version
8.3.21
Operating system and version
Linux 5.15.167.4-microsoft-standard-WSL2
Database type and version
MySQL 8.0.40
Image driver and version
Imagick 3.8.0 (ImageMagick 6.9.11-60)