Bug 1029151 - Task query service does not use usergroupcallback for getTasksByVariousFields
Summary: Task query service does not use usergroupcallback for getTasksByVariousFields
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss BPMS Platform 6
Classification: Retired
Component: jBPM Core
Version: 6.0.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ER5
: 6.0.0
Assignee: Maciej Swiderski
QA Contact: Ivo Bek
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-11-11 19:10 UTC by Maciej Swiderski
Modified: 2014-08-06 20:10 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-08-06 20:10:20 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Maciej Swiderski 2013-11-11 19:10:40 UTC
Description of problem:
task query service method: getTasksByVariousFields does not make use of UserGroupCallback causing query not returning tasks that are assigned on group level.

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


How reproducible:
Use HR example from jbpm-playground and then use REST api to start and get list of tasks with following url:
http://localhost:8080/kie-wb/rest/runtime/org.jbpm:HR:1.0/process/hiring/start
http://localhost:8080/kie-wb/rest/task/query?potentialOwner=katy

Steps to Reproduce:
1.
2.
3.

Actual results:
task list is empty

Expected results:
task list should contain task that are assigned to HR group where katy is member of that group

Additional info:

Comment 1 Maciej Swiderski 2013-11-11 19:13:30 UTC
fixed pushed to master and awaiting acks:
https://github.com/droolsjbpm/jbpm/commit/94a6b2e5f03ef567a4c1f3d77dacc46d87f482d7

Comment 3 Maciej Swiderski 2013-11-14 09:16:46 UTC
backported to 6.0.x branch:
https://github.com/droolsjbpm/jbpm/commit/535d2d73bbd80c02852db5d488d0d789f916b0e4

Comment 4 Ivo Bek 2013-12-11 14:44:08 UTC
Verified in BPMS 6.0.0.ER5


Note You need to log in before you can comment on or make changes to this bug.