Bug when editing two translations simultaneously - data loss

Created on 8 April 2024, 9 months ago

I'm on D 10.2.5, but this issue has also been present in D8, I never came around to write an issue about it until now.

The bug appears when working on a multilingual site. I can't tell for sure which steps need to be exactly followed to reproduce it, but here is tentatively a description:

- install two languages
- use paragraphs
- make a page in one language
- then translate it into another language while having the edit page open in the first language as well
- save the new translation before closing the page edit in the first language

and at that point I think the translation in the other language did not get saved.

maybe others who had the same issue could add more information

🐛 Bug report
Status

Active

Version

10.2

Component
Language system 

Last updated about 7 hours ago

  • Maintained by
  • 🇩🇪Germany @sun
Created by

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

Comments & Activities

  • Issue created by @drupaldope
  • Status changed to Postponed: needs info 7 months ago
  • 🇺🇸United States xjm

    Could we confirm whether or not the use of Paragraphs is required to reproduce this, and search for other similar issues in the queue?

    If confirmed, this would be critical.

    It also seems somewhat related to your report in 🐛 Editing existing translation with set admin language edits wrong translation (data loss) Active , although the precise steps are different.

    Thanks!

  • 🇫🇮Finland YevKo Espoo

    I wasn't able to reproduce the issue following this steps:

    Steps to reproduce

    1. Install Drupal 11.0.1 with the standard profile
    2. Enable Content Translation
    3. Install Paragraphs with composer require drupal/paragraphs and enable it
    4. Add a language, e.g. Finnish in my case
    5. Create a paragraph type, e.g. Text
    6. Create a Pain text field on the paragraph
    7. Enable translation of the paragraph and it's fields.
    8. Add a Paragraphs field to the Basic page content type and allow our Text paragraph there
    9. Create a Basic page in English, save it and click Edit again
    10. Start creating a Finnish translation in the other tab
    11. Save the translation. It is getting saved.
    12. Save an English translation. Saves as well.
    13. Both translations work well

    No Core or paragraph patches used.

  • I will try to nail down the bug, but it's quite a challenge due to the number of modules I have installed.

Production build 0.71.5 2024