Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 440887

Summary: [FileDialog] FileUpload widget throws dispose exception
Product: [RT] RAP Reporter: Matthias Nick <Matthias.Nick>
Component: IncubatorAssignee: Project Inbox <rap.incubator-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 2.3   
Target Milestone: 3.0 M1   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Bug Depends on:    
Bug Blocks: 441078    

Description Matthias Nick CLA 2014-07-31 08:59:13 EDT
When uploading a big file using the FileUpload widget and pressing "Cancel", I get a Widget is disposed exception.

Steps to reproduce:
1) Go to your demo site: http://rap.eclipsesource.com/demo/release/rapdemo/#file-upload
2) Open File Dialog -> Single File
3) Choose a big file (100MB in my case)
4) Press upload
5) While uploading, press cancel

You get a Widget is disposed exception. Is there a way to work around this problem?
Comment 1 Ivan Furnadjiev CLA 2014-07-31 09:37:13 EDT
Fixed in master with commit 0278c29d437975ec3bc9669200122d251a1d886c.
Comment 2 Matthias Nick CLA 2014-07-31 09:45:48 EDT
Thanks for the patch. Will it be included in the 2.3 branch?
Comment 3 Ivan Furnadjiev CLA 2014-07-31 10:09:31 EDT
You could use FileDialog from master branch with RAP 2.3 without problems.