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

Bug 1154576

Summary: TaskService.getTasksAssignedAsPotentialOwners() returns excluded owners too
Product: [Retired] JBoss BPMS Platform 6 Reporter: Hisao Furuichi <hfuruich>
Component: jBPM CoreAssignee: Alessandro Lazarotti <alazarot>
Status: CLOSED EOL QA Contact: Marek Baluch <mbaluch>
Severity: high Docs Contact:
Priority: medium    
Version: 6.0.3CC: kverlaen, mbaluch, tkobayas
Target Milestone: ER3   
Target Release: 6.1.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1195151 (view as bug list) Environment:
Last Closed: 2020-03-27 20:01:15 UTC Type: Feature Request
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:    
Bug Blocks: 1195151    
Attachments:
Description Flags
reproducer none

Description Hisao Furuichi 2014-10-20 08:36:05 UTC
Created attachment 948460 [details]
reproducer

Description of problem:
Although user add anyone to excluded owners,  getTasksAsiignedAsPotentialOwners() returns the excluded owner too because the excluded owner was a member of Potential Owners for the user task.

Steps to Reproduce:
1. Please check attached reproducer

Actual results:
getTasksAsiignedAsPotentialOwners() check potential owner list and return those, and not consider about excluded owners.

Expected results:
getTasksAsiignedAsPotentialOwners() will not return excluded owners for the user task

Comment 1 Maciej Swiderski 2014-11-19 18:34:22 UTC
added excluded owners to be taken into consideration when queuing for tasks assigned as potential owners

jbpm
master:
https://github.com/droolsjbpm/jbpm/commit/712cb74e4c95927dde84ccaa41805710b7d030f2

6.2.x:
https://github.com/droolsjbpm/jbpm/commit/498e37aa87697b39b08b40a464a27c0c97da8fb6

Comment 2 Jiri Svitak 2015-01-02 12:02:09 UTC
Verified in BPM Suite 6.1.0.ER3.

QE test coverage:
https://gitlab.mw.lab.eng.bos.redhat.com/bxms/brms/commit/29d1ff71479cfd19f919774beac9a6d43e4e60ff