Fileupload stops working after refresh of page

UI Components for JSF
Post Reply
thisisvlad
Posts: 9
Joined: 26 Oct 2010, 21:49

07 Apr 2011, 22:27

I have a fileupload on my page. i can upload a file just fine. actually, if i try to upload the file several more times, everything is still fine. however, if i hit refresh in my browser, and then try to upload that same file... nothing happens. oddly enough, if after the refresh, i upload a *different* file, then it works. this only happens when i do a refresh and then upload the same file.

any thoughts on what could be causing this?

robert.m
Posts: 226
Joined: 07 Dec 2010, 22:52
Location: Salzburg/Austria

07 Apr 2011, 23:00

Which PrimeFaces version are you using?

thisisvlad
Posts: 9
Joined: 26 Oct 2010, 21:49

08 Apr 2011, 01:46

Primefaces 3.0

robert.m
Posts: 226
Joined: 07 Dec 2010, 22:52
Location: Salzburg/Austria

08 Apr 2011, 11:30

Ok i just tried your case and it works for me. Can you provide some code? Is your File-Upload-Form nested within another form?

thisisvlad
Posts: 9
Joined: 26 Oct 2010, 21:49

11 Apr 2011, 23:00

I'm actually seeing this on the primefaces labs page as well: http://www.primefaces.org/showcase-labs ... adAuto.jsf

1) Upload an image file
2) hit refresh (i'm using firefox 3.6.16)
3) Upload the same image file as in step 1

when doing step 3, nothing happens for me. however, if i do a shift+refresh for step 2, then step 3 works fine.

thisisvlad
Posts: 9
Joined: 26 Oct 2010, 21:49

18 Apr 2011, 20:18

Is anyone else seeing this issue?

robert.m
Posts: 226
Joined: 07 Dec 2010, 22:52
Location: Salzburg/Austria

18 Apr 2011, 20:27

I just tried Chromium 10 and Firefox 4 on Ubuntu and I can't reproduce your problem with the showcase.

Could you please try one of these browsers so we can figure out if this is a browser-issue?

thisisvlad
Posts: 9
Joined: 26 Oct 2010, 21:49

21 Apr 2011, 20:55

I downloaded firefox 4 and tested using that. Everything works correctly.

So, is this file upload component not compatible w/ firefox 3?

*V

robert.m
Posts: 226
Joined: 07 Dec 2010, 22:52
Location: Salzburg/Austria

22 Apr 2011, 12:14

Maybe.. but I don't have a firefox 3.x on my computer so I can't test this

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 33 guests