Bug 1168878 - Java Task Remote API get* methods only return 10 instances, instead of the full list.
Summary: Java Task Remote API get* methods only return 10 instances, instead of the fu...
Keywords:
Status: CLOSED EOL
Alias: None
Product: JBoss BPMS Platform 6
Classification: Retired
Component: Business Central
Version: 6.1.0
Hardware: Unspecified
OS: Unspecified
urgent
high
Target Milestone: ER5
: 6.1.0
Assignee: Marco Rietveld
QA Contact: Ivo Bek
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-11-28 10:01 UTC by Marco Rietveld
Modified: 2020-03-27 20:12 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2020-03-27 20:12:06 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Server log from operation (575.78 KB, text/plain)
2014-11-28 12:02 UTC, Marco Rietveld
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker JBPM-4517 0 Major Resolved Number of Tasks returned by remote TaskService is limited to 10 2015-10-14 11:54:17 UTC

Description Marco Rietveld 2014-11-28 10:01:02 UTC
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" ?

Comment 2 Marco Rietveld 2014-11-28 12:02:52 UTC
Created attachment 962440 [details]
Server log from operation

Comment 4 JBoss JIRA Server 2015-01-15 17:22:36 UTC
Maciej Swiderski <swiderski.maciej> updated the status of jira JBPM-4517 to Resolved

Comment 5 Ivo Bek 2015-02-17 16:41:06 UTC
Verified in BPMS 6.1.0.ER5

Tested with 100 process instances, the getTasksAssignedAsPotentialOwner operation returned all 100 task summaries.


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