Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 4.0
-
Fix Version/s: EE-4.0.0.GA, 4.1
-
Component/s: None
-
Labels:None
-
Environment:Any
Description
In the showcase app, in the navigation combo-box, when entering a value that doesn't match any of the options in the drop-down menu (corresponding to existing demo beans) and pressing enter, most of the time, it will silently fail and load the overview page, but if certain characters are used, we get an EL exception and an error message on the page and in the logs.
Steps to reproduce:
1. Type something that contains a colon character and doesn't match any of the options in the drop-down list (e.g. 'test:test').
2. Press the enter key.
3. See error message.
Steps to reproduce:
1. Type something that contains a colon character and doesn't match any of the options in the drop-down list (e.g. 'test:test').
2. Press the enter key.
3. See error message.
r43372: added code in the valueChangeListener to make sure that the submitted value matches one of the registered beans. If this value doesn't match any of the registered beans, we simply exit the method before we get to the part where we do the EL processing and navigation logic.