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

Bug 928453

Summary: Contactlist example regressions
Product: [Retired] JBoss Enterprise WFK Platform 2 Reporter: Ron Šmeral <rsmeral>
Component: SeamAssignee: Marek Novotny <mnovotny>
Status: CLOSED CURRENTRELEASE QA Contact: Marek Schmidt <maschmid>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 2.2.0CC: amelicha, tremes
Target Milestone: CR2   
Target Release: 2.2.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-05-14 14:50:59 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 2013-03-27 16:46:49 UTC
Contactlist example fails in two tests:
* org.jboss.seam.example.contactlist.test.graphene.ContactCRUDTest.testEditContact
 - java.lang.AssertionError: Contact update failed. New values missing

* org.jboss.seam.example.contactlist.test.graphene.CommentTest.testComment
  - java.lang.AssertionError: Comment is not stored.

  - server log: 
javax.servlet.ServletException: java.lang.IllegalStateException: org.hibernate.TransientPropertyValueException: Not-null property references a transient value - transient instance must be saved before current operation: org.jboss.seam.example.contactlist.Comment.contact -> org.jboss.seam.example.contactlist.Contact
...
Caused by: javax.faces.el.EvaluationException: java.lang.IllegalStateException: org.hibernate.TransientPropertyValueException: Not-null property references a transient value - transient instance must be saved before current operation: org.jboss.seam.example.contactlist.Comment.contact -> org.jboss.seam.example.contactlist.Contact
...
Caused by: java.lang.IllegalStateException: org.hibernate.TransientPropertyValueException: Not-null property references a transient value - transient instance must be saved before current operation: org.jboss.seam.example.contactlist.Comment.contact -> org.jboss.seam.example.contactlist.Contact
...
Caused by: org.hibernate.TransientPropertyValueException: Not-null property references a transient value - transient instance must be saved before current operation: org.jboss.seam.example.contactlist.Comment.contact -> org.jboss.seam.example.contactlist.Contact



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

How reproducible:
Run Seam 2.3 ftests

Comment 4 Marek Novotny 2013-04-03 12:42:06 UTC
I reverted the fix for https://bugzilla.redhat.com/show_bug.cgi?id=921660

Comment 5 Marek Schmidt 2013-04-12 13:03:26 UTC
Verified on WFK 2.2.0.CR2

Comment 6 Karel Piwko 2013-05-14 14:50:59 UTC
Closed as CURRENTRELEASE, part of WFK 2.2.0 distributables.