-
Bug
-
Resolution: Fixed
-
Later
-
7.0.7, 8.0.1.1
-
Security Level: Jimmy
-
None
-
ZK 8.0.2 S2
-
None
When the parent of a fileupload button is detached close to upload completion, there is a small chance for a ComponentNotFound exception in case the upload finishes right after that and appends the "updateResult" command within the same AJAX request:
The time window for this to happen is quite small by default 38ms (zk.Widget.auDelay).
The error can be reproduced more reliably by increasing the auDelay property as in the attached example (fileupload-detach-error.zul) and choosing a file size that finishes uploading within the increased delay period. (2000ms in the example)
steps to reproduce
- run fileupload-detach-error.zul
- upload a big enough file to show upload progress
- close the window during uploading progress