Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

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: RichFacesAssignee: Brian Leathem <bleathem>
Status: CLOSED CURRENTRELEASE QA Contact: Pavol Pitonak <ppitonak>
Severity: high Docs Contact:
Priority: unspecified    
Version: 2.1.0CC: 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:

Description Karel Piwko 2012-10-31 15:26:19 UTC
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.

Comment 1 ivassile 2012-10-31 18:40:11 UTC
*** Bug 871937 has been marked as a duplicate of this bug. ***

Comment 4 Pavol Pitonak 2012-11-09 13:49:38 UTC
Verified

Comment 5 Karel Piwko 2012-11-30 15:34:12 UTC
Distributed as a part of WFK 2.1.0.GA release.