Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 3.0.1, EE-3.0.0.GA, 3.1.0.BETA1
-
Fix Version/s: 3.1, EE-3.0.0.GA_P01
-
Component/s: ACE-Components
-
Labels:None
-
Environment:All
-
Assignee Priority:P1
-
Affects:Documentation (User Guide, Ref. Guide, etc.)
Description
The ace:fileEntry component does not respect or work well with other fields required validation on the form.
Test Scenario: A page has an h:inputText field with required=true, an ace:fileEntry with required=true and an h:commandButton to submit the form.
- When no input fields are filled in and the button is clicked only the fileEntry required message is shown.
- If a file is selected and the button is clicked, the input fields required message is shown but the file upload takes place, basically ignoring the input fields required validation.
Customers requirement is to show required validation messages for all components at once. Also the upload should not take place if there is required inputs on the form.
Test Scenario: A page has an h:inputText field with required=true, an ace:fileEntry with required=true and an h:commandButton to submit the form.
- When no input fields are filled in and the button is clicked only the fileEntry required message is shown.
- If a file is selected and the button is clicked, the input fields required message is shown but the file upload takes place, basically ignoring the input fields required validation.
Customers requirement is to show required validation messages for all components at once. Also the upload should not take place if there is required inputs on the form.
Activity
Arran Mccullough
created issue -
Arran Mccullough
made changes -
Field | Original Value | New Value |
---|---|---|
Salesforce Case | [5007000000MHZeZ] |
Arran Mccullough
made changes -
Attachment | Case11331Example.zip [ 14533 ] | |
Attachment | Case11331Example.war [ 14534 ] |
Ken Fyten
made changes -
Assignee Priority | P1 | |
Assignee | Mark Collette [ mark.collette ] |
Ken Fyten
made changes -
Fix Version/s | 3.1 [ 10312 ] | |
Fix Version/s | EE-3.0.0.GA_P01 [ 10327 ] |
Ken Fyten
made changes -
Affects | [Documentation (User Guide, Ref. Guide, etc.)] |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #29855 | Sun Jul 08 21:47:04 MDT 2012 | mark.collette | |
Files Changed | ||||
MODIFY
/icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/fileentry/FileEntryPhaseListener.java
MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/fileentry/FileEntryRenderer.java MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/fileentry/FileEntry.java MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/fileentry/FileEntryMeta.java |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #29856 | Sun Jul 08 22:10:02 MDT 2012 | mark.collette | |
Files Changed | ||||
MODIFY
/icefaces3/branches/icefaces-3.0.x-maintenance/icefaces/ace/component/src/org/icefaces/ace/component/fileentry/FileEntryPhaseListener.java
MODIFY /icefaces3/branches/icefaces-3.0.x-maintenance/icefaces/ace/component/src/org/icefaces/ace/component/fileentry/FileEntryRenderer.java MODIFY /icefaces3/branches/icefaces-3.0.x-maintenance/icefaces/ace/component/src/org/icefaces/ace/component/fileentry/FileEntryMeta.java MODIFY /icefaces3/branches/icefaces-3.0.x-maintenance/icefaces/ace/component/src/org/icefaces/ace/component/fileentry/FileEntry.java |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #29857 | Sun Jul 08 22:11:04 MDT 2012 | mark.collette | |
Files Changed | ||||
MODIFY
/icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/fileentry/FileEntryRenderer.java
|
Mark Collette
made changes -
Attachment | FileEntry and InputText required.xlsx [ 14673 ] |
Mark Collette
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Ken Fyten
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |
Attached test case that shows the issue. Load fileUploadProblem1.jsf to see this issue.