Details
Description
The file upload feature in the ICEpdf / ICEfaces servlet sample application is not reliable. Approx. 50% of the time any files that are uploaded are reported as being corrupt pdf files by the application.
This requires further investigation.
This requires further investigation.
The problems was that a script node that the panelPopup didn't have an id, so more than necessary was being sent to the browser. When the inputFile's iframe is updated, the upload is aborted by the browser, causing the server to not receive the whole file, and mark the file as invalid.