Removing and adding translations causes stale data to be shown when editing

Created on 27 March 2024, 7 months ago

Problem/Motivation

Steps to reproduce

Create a translation with the layout_builder_at active and make sure content from the original language is "duplicated" in the translation.
Remove/delete the translation.
Create the translation again.
When editing the layout_builder content you now get stale content from the layout_builder temp store from the previously deleted translation.
When viewing the entity, everything looks fine.
You can "fix" the issue by editing the translation and discarding changes and saving.

Proposed resolution

Delete the tempt store for translations when deleting the translation.

Remaining tasks

Review the provided patch

User interface changes

None

API changes

None

Data model changes

None

🐛 Bug report
Status

Active

Version

2.13

Component

Code

Created by

🇧🇪Belgium weseze

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

Comments & Activities

Production build 0.71.5 2024