Bug 867548

Summary: Seam nestedbooking: jboss-jsf-api should be "provided"
Product: [Retired] JBoss Enterprise WFK Platform 2 Reporter: Ron Šmeral <rsmeral>
Component: SeamAssignee: Marek Novotny <mnovotny>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: unspecified    
Version: 2.1.0CC: amelicha, maschmid, myarboro, tremes
Target Milestone: CR1   
Target Release: 2.1.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: Seam 2.3
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-11-30 15:34:23 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 Ron Šmeral 2012-10-17 16:53:47 UTC
Description of problem:
The nestedbooking example is broken, because jboss-jsf-api is currently pulled in to the WAR as a compile-scope transitive dependency of richfaces-components-ui. This breaks certain functionality. 
Most likely the "jboss-jsf-api_2.1_spec" should be declared in nestedbooking-web/pom.xml explicitly as "provided".

Version-Release number of selected component (if applicable):
jboss-seam-2.3.0.Final-redhat-1

Steps to Reproduce:
1. Download and unpack jboss-wfk-2.1.0.ER2-seam23-demo.zip
2. Build and deploy the nestedbooking example
3. Login as gavin/foobar, search for a hotel, View Hotel > Book Hotel > Select Room, then try to click Select on any of the rooms.
  
Actual results:
A javascript error "mojarra is not defined" appears in browser.

Expected results:
Navigation to the Payment page.

Comment 3 Karel Piwko 2012-11-30 15:34:23 UTC
Distributed as a part of WFK 2.1.0.GA release.