Implement file upload as a pure servlet
The JSP:s used for file upload are sensitive to line breaks in the JSP code. See ticket #736 and #737. It would be more stable to use a pure servlet for the file upload.
Change History
(8)
Milestone: |
BASE 2.5 → BASE 2.6
|
Owner: |
changed from everyone to Martin Svensson
|
Status: |
new → assigned
|
Milestone: |
BASE 2.6 → BASE 2.x+
|
Owner: |
Martin Svensson removed
|
Status: |
assigned → new
|
Milestone: |
BASE 2.x+ → BASE 2.16
|
Owner: |
set to Nicklas Nordborg
|
Priority: |
major → minor
|
Status: |
new → assigned
|
Resolution: |
→ fixed
|
Status: |
assigned → closed
|
(In [5395]) Fixes #738: Implement file upload as a pure servlet
It is not the file upload itself that is the real problem, it is the fact that the upload is sent to a hidden frame and that it is difficult to handle errors (eg. show them to the user). The new solution is to simply let the error be generated in the hidden frame and then use a javascript callback in the parent window to re-size the frames so that the upload-frame becomes visible instead.
I have also got rid of the non-ajax version of progress reporter since this could also cause problems. The progress reporting is no longer responsible for any error handling (since it is possible for an error to happen before the progress reporting infrastructure has been setup).