-
Bug
-
Resolution: Done
-
Critical
-
6.1.0
-
None
+++ This bug was initially created as a clone of Bug #1210802 +++
Description of problem:
When lots of jobs are generated and cancelled before executed, paging and sorting starts to behave strange.
Version-Release number of selected component (if applicable):
BPMS 6.1.0.CR2
How reproducible:
After heavy job creation, cancelling and sorting by Id
Steps to Reproduce:
1. Go to Job Perspective
2. Generate several jobs eg. repository cloning and removing. Manually create 15 jobs with dueDate in the future. Go to Scheduled tab and cancel them.
3. Repeat 2. several times.
4. Try to sort by Id jobs in different tabs and use pagination and see the paging work properly for a while and later stop working or is not possible to sort at the same time.
Actual results:
Paging and sorting stops working when lots of jobs are generated.
Expected results:
Paging and sorting works properly.
Additional info:
Improvements to both UI and API to allow server side paging and sorting has been added as part of the work for this feature request:
https://issues.jboss.org/browse/BPMSPL-193
From these changes, the following commits are (partly) relevant to fix the paging problems:
https://github.com/droolsjbpm/jbpm/commit/c085b3b3f5d0da96255380836558be9687d785f2
https://github.com/droolsjbpm/jbpm-console-ng/commit/25c23dcaae69bb78e5a53fd012eaba3a0403e9de
https://github.com/droolsjbpm/droolsjbpm-integration/commit/82f800cc3b662ef2d0a1f6cd780bd4df5dda68db
Note however that backporting these changes won't be a simple cherry-picking...
- duplicates
-
RHBPMS-1193 JobExecutor: Sorting and paging start behave strange after jobs are created and cancelled
-
- Verified
-
- is blocked by
-
RHBPMS-1193 JobExecutor: Sorting and paging start behave strange after jobs are created and cancelled
-
- Verified
-