cancel
Showing results for 
Search instead for 
Did you mean: 

[BUG] TaskQueryImpl#getCandidateGroups getting called 5x

ikaros
Champ in-the-making
Champ in-the-making
Hi,
I am pretty sure i have found a Bug in the TaskQueryImpl#getCandidateGroups implementation, or to be more specific, in whatever is calling it. The following code called the method once under actitiviti 5.14. Since activiti 5.15 it is called exactly 5 times.

taskService.createTaskQuery().processDefinitionKey(processdefinitionkey).taskCandidateUser(agentid).list();

It does not matter if I use LDAP or the Integrated H2 Database for managing Users, the method is always called 5 times and produces extreme delay.

Greetings
1 REPLY 1

jbarrez
Star Contributor
Star Contributor
Do you have a unit test demonstrating this problem?