openui5 icon indicating copy to clipboard operation
openui5 copied to clipboard

FileUploader behavior in the canceling case

Open jerome-benoit opened this issue 8 years ago • 3 comments

OpenUI5 version: latest stable from today.

Browser/version (+device/version): Chrome, Mozilla, Edge

Steps to reproduce the problem:

  1. Do a page with <uni:FileUploader id="ua_file_u1a1" additionalData="notReady"/>
  2. Click on Browse and select a file to upload
  3. Reclick on Browse then Cancel

What is the expected result? The previously file chosen should not have been emptied. It should have kept the previous choice.

What happens instead? The upload input is empty.

jerome-benoit avatar Apr 24 '18 13:04 jerome-benoit

Hello @jerome-benoit,

Thank you for sharing this finding. I've created an internal incident 1870212041. The status of the issue will be updated here in GitHub.

Regards, Bozhko

bozhkotodorov avatar Apr 26 '18 10:04 bozhkotodorov

Hello @jerome-benoit,

I tested the problem mentioned above. The only time that I encountered it, is when I tested it on Google Chrome. In my opinion this is not a bug regarding our framework, since it's a default behaviour of the above mentioned browser. To prove my words, below I'll provide a small jsbin example which don't rely on our framework. http://jsbin.com/zagajufafo/edit?html,output

Regards, Plamen

plamenivanov91 avatar Apr 27 '18 13:04 plamenivanov91

Fair enough. Closing.

jerome-benoit avatar May 21 '19 09:05 jerome-benoit