Red Hat Bugzilla – Bug 831596
Ticket Monster: If invalid number of tickets is provided, the input field simply disappears, no error message occurs
Last modified: 2013-02-01 10:12:29 EST
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):
both FF 10.0.3 and Google Chrome 17.0
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
The input(s) for number of tickets disappears, the section selector is cleared.
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 -
Verified in WFK 2.1.0.CR1.
Distributed as a part of WFK 2.1.0.GA release.