Bug 871870
| Summary: | rich:select with enableManuelInput="true": Validation message is not displayed when the submitted value is not on the list. | ||
|---|---|---|---|
| Product: | [Retired] JBoss Enterprise WFK Platform 2 | Reporter: | Karel Piwko <kpiwko> |
| Component: | RichFaces | Assignee: | Brian Leathem <bleathem> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Pavol Pitonak <ppitonak> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 2.1.0 | CC: | ivassile, kpiwko, mnovotny |
| Target Milestone: | CR1 | ||
| Target Release: | 2.1.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-11-30 15:34:12 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
*** Bug 871937 has been marked as a duplicate of this bug. *** fix for RF-12474 is in product branch http://git.app.eng.bos.redhat.com/?p=richfaces/components.git;a=commitdiff;h=fa4d1386e2ac4a48888b03abd77280f3e3e73cfd Verified Distributed as a part of WFK 2.1.0.GA release. |
Per the RichFaces documentation: ...If an invalid value is entered, it is highlighted as erroneous and validation messages appear with the submission... The validation message is not displayed when entering an invalid value (which is not on the list) and submitting it. Test code: <rich:select id="idSelect" value="#{backingBean.value}" enableManualInput="true"> <f:selectItem itemLabel="Option 1" itemValue="Option 1" /> <f:selectItem itemLabel="Option 2" itemValue="Option 2" /> </rich:select> Steps to reproduce: checkout https://github.com/papousek/richfaces-sanbox/tree/RF-12474, build it and deploy on JBoss AS 7 open http://localhost:8080/richfaces-sandbox-jee6/ select "a" item from the first rich:select and click on the first "send" button type "AAA" into the first rich:select and click on the first "send" button validation message should be present, but it isn't.