Image is not displayed when delete translate node revision

Created on 30 November 2023, 12 months ago

Problem/Motivation

When delete a translation version that don't use image, the file usage number will been impacted, lead to the image of original node isn't display.

Steps to reproduce

1、Create a content and upload a image in CKEditor field.

2、Save as published

3、Translate this node and delete image in CKEditor

4、Save as published

5、Edit this translate node and Save as published again

6、Edit this translate node and Save as published again

7、Click revision tab and delete revision of step 5

8、Check original node on frontend

The image of original node will disappear.

Proposed resolution

Determine if a translated version is available before changing the count.

Remaining tasks

Make decision on how to fix and implement the fix.

🐛 Bug report
Status

Active

Version

10.1

Component
Editor 

Last updated about 16 hours ago

Created by

🇨🇳China Omega_yang

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

Comments & Activities

Production build 0.71.5 2024