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

Bug 831596

Summary: Ticket Monster: If invalid number of tickets is provided, the input field simply disappears, no error message occurs
Product: [Retired] JBoss Enterprise WFK Platform 2 Reporter: Tomas Repel <trepel>
Component: TicketMonsterAssignee: Marius Bogoevici <mariusb>
Status: CLOSED CURRENTRELEASE QA Contact: Karel Piwko <kpiwko>
Severity: medium Docs Contact:
Priority: low    
Version: 2.0.0.ER7CC: bsutter, irooskov, lpearce, mnovotny, pmuir, rfalhar, rruss, vdedik
Target Milestone: CR1   
Target Release: 2.1.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: ticket-monster
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Previously, when creating a booking in Ticket Monster, the ticket number field needed a valid value input or the input field would disappear. Web Framework Kit 2.1 fixes this issue and the field no longer disappears, displaying an error message when an invalid value is entered.
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-11-30 15:35:09 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 Tomas Repel 2012-06-13 11:57:29 UTC
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.

Comment 2 Marius Bogoevici 2012-07-23 21:42:38 UTC
Modified and fixed

Comment 3 rfalhar 2012-08-21 08:16:40 UTC
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?

Comment 4 Vaclav Dedik 2012-10-11 11:53:47 UTC
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.

Comment 6 Marek Novotny 2012-10-24 08:38:48 UTC
Commit backported from JDF TicketMonster - 
http://git.app.eng.bos.redhat.com/?p=wfk/ticket-monster.git;a=commitdiff;h=8f0cd39e9a82ee57a875aaef54fa9883b1f31c8f

Comment 8 Tomas Repel 2012-11-07 16:03:42 UTC
Verified in WFK 2.1.0.CR1.

Comment 9 Karel Piwko 2012-11-30 15:35:09 UTC
Distributed as a part of WFK 2.1.0.GA release.