Menu

#72 No redirect to URL after unsuccessful upload (uploadPolicy.afterUpload() only called if no Exception occured)

v1.0_(example)
open
nobody
None
6
2012-10-12
2012-10-12
Anonymous
No

In FileUploadManagerThreadImpl#269, the method uploadPolicy.afterUpload() is only called when getUploadException() is null (FileUploadManagerThreadImpl#240). Therefore the first parameter in the afterUpload(this.getUploadException(),
this.fileUploadThread.getResponseMsg()) is useless (always null) and no redirect is done, when an exception occurs. This keeps me from refreshing the page and possibly showing an error message

Discussion

Anonymous
Anonymous

Add attachments
Cancel