Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 1.8DR#2
-
Component/s: ICE-Components
-
Labels:None
-
Environment:ACEGI regression tests,1.8 DR#3, b13.
Description
1. Acegi 15630: acegi-fileupload-combo Build13 Mandeep 19/12/2008 14:34:59 file upload & text box work as expected but after the upload is finished the upload button and textbox all disappear
2. Acegi 15632: acegi-fileupload Build13 Mandeep 19/12/2008 14:34:52 file upload works but after the upload is finished the upload button and textbox all disappear
2. Acegi 15632: acegi-fileupload Build13 Mandeep 19/12/2008 14:34:52 file upload works but after the upload is finished the upload button and textbox all disappear
Activity
Ken Fyten
created issue -
Ken Fyten
made changes -
Field | Original Value | New Value |
---|---|---|
Salesforce Case | [] | |
Fix Version/s | 1.8DR#2 [ 10142 ] | |
Assignee Priority | P1 | |
Assignee | Mark Collette [ mark.collette ] |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #18104 | Mon Dec 22 13:13:30 MST 2008 | mark.collette | |
Files Changed | ||||
MODIFY
/icefaces/trunk/icefaces/core/src/com/icesoft/faces/webapp/http/core/UploadServer.java
|
Ken Fyten
made changes -
Salesforce Case | [] | |
Fix Version/s | 1.8DR#3 [ 10143 ] | |
Fix Version/s | 1.8DR#2 [ 10142 ] |
Mark Collette
made changes -
Summary | ACEGI test failing with file-Upload | inputFile component disappearing |
Salesforce Case | [] |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #18190 | Mon Jan 19 12:42:26 MST 2009 | mark.collette | |
Files Changed | ||||
MODIFY
/icefaces/trunk/icefaces/core/src/com/icesoft/faces/component/inputfile/UploadStateHolder.java
MODIFY /icefaces/trunk/icefaces/component/src/com/icesoft/faces/component/inputfile/InputFileRenderer.java MODIFY /icefaces/trunk/icefaces/core/src/com/icesoft/faces/component/inputfile/UploadConfig.java MODIFY /icefaces/trunk/icefaces/component/src/com/icesoft/faces/component/inputfile/InputFile.java MODIFY /icefaces/trunk/icefaces/core/src/com/icesoft/faces/webapp/http/core/UploadServer.java |
Mark Collette
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Ken Fyten
made changes -
Fix Version/s | 1.8 [ 10161 ] | |
Assignee Priority | P1 |
Ken Fyten
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |
Assignee | Mark Collette [ mark.collette ] |
The UploadServer requires html output from the InputFileRenderer, in the last lifecycle, after the file has completed uploading. Currently, this html output is stored in the session, along with some other InputFile parameters, which need to be in the session as well. When there's an IntervalRenderer going, it causes lifecycles to occur, which causes the InputFile parameters to be stored into the session. Except that those ones do not contain the html output. There's a polling loop in the UploadServer that looks for the html output. This html is what's returned to the browser. When it's not returned, the inputFile component appears to the user to have disappeared.
The real solution will involve not storing the html output in the session, but instead using a ThreadLocal field to capture it, and return it to the UploadServer. Then, any interleaved lifecycles unrelated to the file upload, can't interfere with the UploadServer response.
For ICEfaces 1.8 DR#3, because of a tight timeframe, I've just increase the polling frequency, so that the UploadServer is less likely to miss the html output, before the IntervalRenderer stomps it over.
Subversion 18104
icefaces\core\src\com\icesoft\faces\webapp\http\core\UploadServer.java