Bug 977956

Summary: Ticket Monster: generated Administration section has issues with creating and editing certain properties
Product: [Retired] JBoss Enterprise WFK Platform 2 Reporter: Vineet Reynolds <vpereira>
Component: TicketMonsterAssignee: Pete Muir <pmuir>
Status: CLOSED INSUFFICIENT_DATA QA Contact: Tomas Repel <trepel>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 2.3.0CC: bsutter, mnovotny, snagarwa
Target Milestone: ---   
Target Release: 2.4.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Known Issue
Doc Text:
There are following issues in the Administration section of the TicketMonster example when it is generated using JBoss Forge and when one to many relationships are involved in the TicketMonster object model: 1. When you try to add or edit a venue, there is a blank row with a 'green plus' button for adding the new section to the venue. If you click the 'save' button, the blank row is validated and it prevents you from editing or adding a venue. Also, if the row is populated with valid values and saved, the newly created venue loses the section. 2. When you use the "Create a new Show" and "Edit existing Show" screens, there are two 'green plus' buttons; if you click on the second button (for Ticket Prices), the validation of Performance Date is triggered, which is an incorrect behaviour. The root cause of this issue is in the implementation of JBoss Forge and not in the TicketMonster example. No workaround for this issue is currently known.
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-07-17 21:17:17 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 Vineet Reynolds 2013-06-25 16:27:56 UTC
Description of problem:

The following issues were discovered in the generated administration section whenever 1:M relationships were involved in the TicketMonster object model:

1. When adding/editing a venue, there is a blank row with "green plus" button for adding the new section to the venue. If you click on "save" button, this blank row is validated and it prevents you from editing/adding venue. Also, if the row is populated with valid values and saved, the newly created venue loses the section.

2. Add/Edit show - there are two "green plus" buttons, if you click on 2nd one (for Ticket Prices), the validation of Performance Date is triggered, that is wrong.

Version-Release number of selected component (if applicable):


How reproducible: 
Always

Steps to Reproduce:

For issue 1:
1. Click the 'Create New' button in the Venue screen.
2. Enter a name for the venue and click 'Save'.
3. Correct the validation errors triggered for the blank row in the Section field/property.
4. Click 'Save' again and view the newly created Venue.

For issue 2:
1. Click the 'Create New' button in the Show screen.
2. Select an Event and a Venue.
3. Click the Plus button in the Ticket Prices section, to add a new Ticket Price.

Actual results:

For issue 1:
The Section when saved with valid values, disappears and is not visible in the View Venue screen.

For issue 2:
An error message 'may not be null' is displayed against the Performance Date field when adding a Ticket Price.

Expected results:

For issue 1:
The Section entered in the Create Venue screen should be saved and visible in the View Venue screen.

For issue 2:
The validation of the Performance date should be done on Save and not when adding a new Ticket Price.

Additional info:

This an underlying issue in JBoss Forge and not in the TicketMonster example .No workaround for this issue is currently known.

Comment 1 Sneha 2013-07-08 11:38:40 UTC
Updated doc text. Vineet please confirm.

Comment 2 Vineet Reynolds 2013-07-08 11:43:55 UTC
@Sneha, confirmed as correct.

Comment 3 Sneha 2013-07-09 05:57:20 UTC
Updated doc text.

Comment 4 Vineet Reynolds 2013-07-17 21:47:47 UTC
Migrated to JIRA