BUG: after upload of multiple files not possible to reset the upload filelist

Dear Support

Attached you find a simple project.

There is a list of uploaded files. You can add more files by adding them with the MultiUpload Button which is working fine for one run to upload one or multiple files.

upload1

If you use the same MultiUpload Button again, the list of files is not deleted despite the fact of using

event.getSource().clearFileList();
upload.clearFileList();

The newly uploaded files are added to the list of the files already deleted in the run before. This list gets larger each upload and I would have to check each entry, if the file still is existing or might be new ;/


With the second upload button where I create each time of the upload a new MultiUploader it is working.
upload2


Hint
I found in the Jmix-UI a property uploadHandlerType, but the Studio complains you if you try to set this handler.
grafik

I think, there is a bug here

UPDATE

I did change MultiFileTemporaryStorageBuffer to MultiFileMemoryBuffer ( deprecated … ) and was then able in
public void onUploadAllFinished(final AllFinishedEvent event) {
to assign a new Buffer

MultiFileMemoryBuffer newBuffer = new MultiFileMemoryBuffer();
upload.setReceiver(newBuffer);

so, the program is finally working, otherwise there is the same bug with this implementation too.

Regards
Felix

Hi,

Unfortunately I cannot test your project. Also, I’ve removed attached project because it seems that they contain sensitive data.

Screenshot 2026-04-13 at 12.15.42

Could you please attache a simple demo project that reproduces the issue?

The uploadhandlerType attribute isn’t exist in the 2.8, it will appear in the 3.0 version as a replacement of deprecated Vaadin API.

Regards,
Gleb