Enonic version: 7.2.0
OS: Linux and Windows
When replacing a file in AttachmentUploader, it is uploaded for the second time.
Steps to reproduce:
- We have a part, which includes AttachmentUploader.
- Upload a file in this part, save and publish the content.
- Remove the file, upload a new one.
The preview gets reloaded, the new file is not uploaded and there is no error message. If trying the second time, everything works as it should.