Duplicated blocks after translation

Created on 6 March 2023, over 1 year ago
Updated 9 May 2023, about 1 year ago

Problem/Motivation

- Blocks that were translated where being duplicated multiple times.

Steps to reproduce

- Add a page with layout builder enabled.
- In Layout builder add an inline block.
- Save the content
- In the Translate tab, checkbox any of the language and click request translation.
- Submit translation and download the XLIFF file.
- Add translation to XLIFF file.
- Import XLIFF by to the the current job.
- Now view the latest draft to verify the block all had been duplicated.

Proposed resolution

Fix the static variable so it only run once.

Remaining tasks

- Submit patch.

User interface changes

None

API changes

None

Data model changes

None

πŸ› Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States johnle

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024