Bug 853014

Summary: Human task named queries are incompatible with hibernate 4
Product: [JBoss] JBoss Enterprise BRMS Platform 5 Reporter: Maciej Swiderski <mswiders>
Component: jBPM 5Assignee: Kris Verlaenen <kverlaen>
Status: VERIFIED --- QA Contact: Marek Baluch <mbaluch>
Severity: high Docs Contact:
Priority: unspecified    
Version: BRMS 5.3.1CC: kverlaen
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Various Human Task queries were only compatible with Hibernate version 3 although both Hibernate 3 and 4 are supported. This caused an issue with limited functionality with the Human Task services; accordingly, errors such as Group Tasks not appearing on the Group Task panel in Business Central Console occurred. These compatibility issues have been resolved by enhancing functionality on both Hibernate 3 and Hibernate 4.
Story Points: ---
Clone Of: Environment:
Last Closed: 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 Maciej Swiderski 2012-08-30 09:31:45 UTC
Description of problem:
Some of the queries, especially related to group assignment of a task does not work properly on hibernate 4 due to inner join being added to the query for createdBy and/or actualOwner fields that usually don't exist for group assigned tasks
Backport of commit https://github.com/droolsjbpm/jbpm/commit/4542f85ec4af5b998151023c1f4ef6b6130d7cae from master

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


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:
group tasks are not visible on group task panel in console

Expected results:
group tasks should be visable

Additional info:

Comment 1 Maciej Swiderski 2012-08-30 11:14:18 UTC
backported to 5.2.x branch

Comment 3 Jiri Svitak 2012-09-25 17:41:30 UTC
Verified in BRMS 5.3.1 ER1.

Comment 4 Douglas Hoffman 2012-10-23 04:09:58 UTC
Thanks for the Release Notes information. I have updated the documentation for the Doc Text section of this bug.

Thanks again,

Doug