Description of problem: The following operation via the Java Remote API ((and potentially also other getter methods) are somehow limited to 10 outputs. List<TaskSummary> taskList = taskService.getTasksAssignedAsPotentialOwner(username, "en-UK"); Version-Release number of selected component (if applicable): Release: 6.2.0.CR1 How reproducible: Always. Steps to Reproduce: 1. See the method above Actual results: Only 10 results returned. Expected results: All (more than 10) results should be returned. Additional info: The reason behind this may that I am setting some QueryFilter but specifying only Language and User. QueryFilter, however, also have constructor which accepts "int counts", so maybe, if "counts" is not specified, it gets default value "10" ?
Created attachment 962440 [details] Server log from operation
fixed by fetching all results for methods that do no provide paging information jbpm master: https://github.com/droolsjbpm/jbpm/commit/bfcf1abdb3f7eda55f23445eb746c877bf0ca239 6.2.x: https://github.com/droolsjbpm/jbpm/commit/f1329938eda0091b37c549a49862659af62e1cdf droolsjbpm-integration master: https://github.com/droolsjbpm/droolsjbpm-integration/commit/a11e1752dc61c172b82f02e2210d45d8551f339c 6.2.x: https://github.com/droolsjbpm/droolsjbpm-integration/commit/dfa0c9f7644557d5383294c53f4f1c94447e7a95
Maciej Swiderski <swiderski.maciej> updated the status of jira JBPM-4517 to Resolved
Verified in BPMS 6.1.0.ER5 Tested with 100 process instances, the getTasksAssignedAsPotentialOwner operation returned all 100 task summaries.