concretecms
concretecms copied to clipboard
If you cancel the file upload and upload another file, the cached file will also be uploaded.
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)
- Open the composer of Blog Entry page type with thumbnail attribute.
- Click on the Choose file button to launch the file manager.
- Set the bredge.jpg file in the upload area and click the Cancel button.
- Now set the house.jpg file to the upload area and execute the upload.
- 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
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!
Let's fix this issue