concretecms icon indicating copy to clipboard operation
concretecms copied to clipboard

If you cancel the file upload and upload another file, the cached file will also be uploaded.

Open moriaiy opened this issue 2 years ago • 2 comments

Affected Version of Concrete CMS

9.x

Description

Confirmed with 9.2.4.

This occurs when attaching an image file on an article block or composer. When uploading a file, if you cancel and upload a different image file, the image file before the cancellation is also uploaded.

How to reproduce

Prepare two files for testing. (bridge.jpg, house.jpg)

  1. Open the composer of Blog Entry page type with thumbnail attribute.
  2. Click on the Choose file button to launch the file manager.
  3. Set the bredge.jpg file in the upload area and click the Cancel button.
  4. Now set the house.jpg file to the upload area and execute the upload.
  5. when you look at the list in File Manager, the bridge.jpg file that you canceled is uploaded for some reason.

Please check video.

https://github.com/concretecms/concretecms/assets/50855696/8fd34a22-500a-4e5b-890f-aceb8f3b20cd

Possible Solution

No response

Additional Context

No response

moriaiy avatar Jan 16 '24 04:01 moriaiy

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions!

stale[bot] avatar Apr 27 '25 04:04 stale[bot]

Let's fix this issue

hissy avatar Apr 28 '25 01:04 hissy