Description of problem: When creating a booking, you have to insert a number of tickets. If you don't provide the valid value, the input field disappears. No error message is show to the user. Version-Release number of selected component (if applicable): WFK2 ER8 EAP6 CR1 both FF 10.0.3 and Google Chrome 17.0 How reproducible: Always. Steps to Reproduce: 1. package and deploy Ticket Monster example 2. select an event and venue, click on 'Order Tickets' button 3. choose a section, the input(s) for inserting number of tickets appears 4. provide invalid value (arbitrary letter for instance) 5. click on 'Add tickets' button Actual results: The input(s) for number of tickets disappears, the section selector is cleared. Expected results: Some error message should be shown to the user, the previously selected section should remain selected.
Modified and fixed
Did this fix also fixed case, when non-numeric value was entered and text field didn't turn red? Eg. value was not taken as invalid?
When you type in the input an invalid value, an error message is shown to the user. However, if the user clicks on the 'Add ticket' button anyway, the input field disappears -- I don't think this is an expected behavior.
Commit backported from JDF TicketMonster - http://git.app.eng.bos.redhat.com/?p=wfk/ticket-monster.git;a=commitdiff;h=8f0cd39e9a82ee57a875aaef54fa9883b1f31c8f
Verified in WFK 2.1.0.CR1.
Distributed as a part of WFK 2.1.0.GA release.