Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uploading same file several times does not work #14

Open
jobert21 opened this issue Aug 26, 2015 · 5 comments
Open

Uploading same file several times does not work #14

jobert21 opened this issue Aug 26, 2015 · 5 comments

Comments

@jobert21
Copy link

Using multi file upload. DnD works fine if you drag/drop the same file several times. Fails when using the browse button.

Upload file-1. Upload file-1 the second time fails.
Upload file-1. Upload file-2. Upload file-1. Pass.

@mstahv
Copy link
Collaborator

mstahv commented Aug 28, 2015

Hi, did you use the latest version (7.4.2)? I couldn't reproduce this with it. There was some refactoring that might have fixed this.

@asdef
Copy link

asdef commented Jul 13, 2016

I've got an application using Vaadin 7.1.6 and easyuploads 7.4.6 which failed in a similar way:

  1. Upload file-1 using the browse button - success
  2. remove file-1 - success
  3. Upload file-1 using the browse button - fails
  4. drag and drop file-1 - success

@mstahv
Copy link
Collaborator

mstahv commented Jul 14, 2016

@asdef, you should update your Vaadin version ;-) Lot's of good things has happened since 7.1.6.

You you have a small example code to reproduce the issue? Which platform are you using?

@stevebor1
Copy link

The bug is still present and reproducible with the Upload demo.

  1. set mode to Immediate
  2. upload a file with multiple lines of content - demo displays the # of lines
  3. edit the same file and change the # of lines. - demo line count does not update.

I've stepped through the code and made sure the ref to the tempfile was deleted after each upload. It seems that if the file name/path is the same, no events get fired.

@mstahv
Copy link
Collaborator

mstahv commented Oct 26, 2017

I tried to reproduce this but it works fine for me. Which browser are you using? If you can reproduce it easily, please file an issue to the http://github.com/vaadin/framework with all details.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants