Bug 1094955

Summary: [GSS](6.3.1) HHH-9261 Multiple detached representations of the same entity cannot be merged using cascade=merge
Product: [JBoss] JBoss Enterprise Application Platform 6 Reporter: Stephen Fikes <sfikes>
Component: HibernateAssignee: Gail Badner <gbadner>
Status: CLOSED CURRENTRELEASE QA Contact: Martin Simka <msimka>
Severity: unspecified Docs Contact: Russell Dickenson <rdickens>
Priority: unspecified    
Version: 6.1.0CC: bbaranow, fgavrilo, gbadner, jawilson, jlivings, jmartisk, msimka, myarboro, smumford
Target Milestone: CR1Keywords: Triaged
Target Release: EAP 6.3.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Known Issue
Doc Text:
In this releases of JBoss EAP 6, during cascade merge, if multiple entity instances with the same identity are detected, they cannot be automatically merged so the following exception is raised. ---- java.lang.IllegalStateException: An entity copy was already assigned to a different entity ---- This issue is expected to be resolved in a future release of the product.
Story Points: ---
Clone Of: 1094951
: 1095379 (view as bug list) Environment:
Last Closed: 2014-10-13 18:39: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:
Bug Depends On: 1094951    
Bug Blocks: 1095379, 1102082, 1114751, 1121630    

Description Stephen Fikes 2014-05-06 18:40:46 UTC
+++ This bug was initially created as a clone of Bug #1094951 +++

Description of problem:
https://hibernate.atlassian.net/browse/HHH-9106

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


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Brett Meyer 2014-05-07 14:42:04 UTC
*** Bug 1095192 has been marked as a duplicate of this bug. ***

Comment 3 Gail Badner 2014-06-04 21:41:47 UTC
If this fix goes straight into 6.2.4, it won't have time in the community. Can this be deferred to 6.2.5 (if there is one)?

 It will be released in 6.3.1.

Comment 6 Gail Badner 2014-06-26 01:12:32 UTC
This fix will not make it into 6.3.0.

New JIRA issue for backporting HHH-9106 to 4.2 branch is HHH-9261.

Comment 8 Scott Mumford 2014-07-06 19:47:39 UTC
Marking for exclusion from the 6.3.0 and 6.3.1 Release Notes as bug 1094951 (set for resolution in 6.4.0) will appear in both versions as a Known Issue.

Do not reset the requires_doc_text flag unless action is taken to exclude the 6.4.0 ticket.

Comment 11 Jan Martiska 2014-09-01 15:32:53 UTC
Verified in EAP 6.3.1.CR1.