Describe the bug
When removing an asset through the admin panel from an S3 container, and then renaming a new or existing image to that removed asset's filename, the removed image is displayed in the asset preview modal.
To Reproduce
Steps to reproduce the behavior:
Configure an asset container for S3
Upload image1 and image2
Remove image1
Rename image2 to image1
Image1 is displayed rather than image2
Expected behavior
The renamed asset is displayed rather than the previous.
Environment details (please complete the following information):
Describe the bug When removing an asset through the admin panel from an S3 container, and then renaming a new or existing image to that removed asset's filename, the removed image is displayed in the asset preview modal.
To Reproduce Steps to reproduce the behavior:
Expected behavior The renamed asset is displayed rather than the previous.
Environment details (please complete the following information):