Bug 831596 - Ticket Monster: If invalid number of tickets is provided, the input field simply disappears, no error message occurs
Summary: Ticket Monster: If invalid number of tickets is provided, the input field sim...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Enterprise WFK Platform 2
Classification: Retired
Component: TicketMonster
Version: 2.0.0.ER7
Hardware: Unspecified
OS: Unspecified
low
medium
Target Milestone: CR1
: 2.1.0
Assignee: Marius Bogoevici
QA Contact: Karel Piwko
URL:
Whiteboard: ticket-monster
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-06-13 11:57 UTC by Tomas Repel
Modified: 2013-02-01 15:12 UTC (History)
8 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2012-11-30 15:35:09 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker JDF-121 0 Minor Resolved If invalid number of tickets is provided, the input field simply disappears, no error message occurs 2013-06-14 16:18:20 UTC

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.


Note You need to log in before you can comment on or make changes to this bug.