Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 4.0.BETA
-
Fix Version/s: 4.0
-
Component/s: Sample Apps
-
Labels:None
-
Environment:Icefaces 4 trunk, Myfaces 2.2.2, All browsers, Tomcat 7 r40726
-
Assignee Priority:P2
-
Affects:Documentation (User Guide, Ref. Guide, etc.), Compatibility/Configuration
-
Workaround Exists:Yes
-
Workaround Description:Application should isolate the ace:fileEntry component into it's own form to avoid this issue with MyFaces 2.2.2.
Description
When using the slider to change file size a console error appears and the file size is not updated:
Console error:
clientError: The form with the id example-form has an input file element, but is not a multipart form
http://localhost:8080/showcase/javax.faces.resource/jsf.js.jsf?ln=javax.faces&v=4_0_0_140407
Line 1
Steps to reproduce:
Build showcase in Icefaces 4 with Myfaces 2.2.2 libs.
Navigate to ace:fileEntry > Validation.
Move the slider to the right to increase file size.
Console error will appear and the file size will not be updated.
Console error:
clientError: The form with the id example-form has an input file element, but is not a multipart form
http://localhost:8080/showcase/javax.faces.resource/jsf.js.jsf?ln=javax.faces&v=4_0_0_140407
Line 1
Steps to reproduce:
Build showcase in Icefaces 4 with Myfaces 2.2.2 libs.
Navigate to ace:fileEntry > Validation.
Move the slider to the right to increase file size.
Console error will appear and the file size will not be updated.
Activity
Liana Munroe
created issue -
Ken Fyten
made changes -
Field | Original Value | New Value |
---|---|---|
Assignee | Mircea Toma [ mircea.toma ] | |
Fix Version/s | 4.0 [ 11382 ] | |
Assignee Priority | P2 [ 10011 ] |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #41182 | Tue May 20 12:09:53 MDT 2014 | mircea.toma | |
Files Changed | ||||
MODIFY
/icefaces4/trunk/icefaces/samples/showcase/showcase/src/main/webapp/resources/examples/ace/fileentry/validation.xhtml
|
Mircea Toma
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #41183 | Tue May 20 13:38:42 MDT 2014 | mircea.toma | |
Files Changed | ||||
MODIFY
/icefaces4/trunk/icefaces/core/src/main/java/org/icefaces/impl/event/BridgeSetup.java
|
Ken Fyten
made changes -
Security | Private [ 10001 ] |
Ken Fyten
made changes -
Workaround Description | Application should isolate the ace:fileEntry component into it's own form to avoid this issue with MyFaces 2.2.2. | |
Affects | Documentation (User Guide, Ref. Guide, etc.),Compatibility/Configuration [ 10003, 10002 ] | |
Workaround Exists | Yes [ 10007 ] |
Ken Fyten
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |
During submit Myfaces 2.2.2 verifies (in the bridge) if the form containing the file input entry has the correct encoding type. If it's not multipart/form-data encoded it will throw an exception without an explanatory message.