Bug 1265725 - The /rest/query/task operation is returning lists with duplicate TaskSummary's
Summary: The /rest/query/task operation is returning lists with duplicate TaskSummary's
Keywords:
Status: CLOSED EOL
Alias: None
Product: JBoss BPMS Platform 6
Classification: Retired
Component: Business Central
Version: 6.2.0
Hardware: Unspecified
OS: Unspecified
medium
high
Target Milestone: ER5
: 6.2.0
Assignee: Shelly McGowan
QA Contact: Lukáš Petrovický
URL:
Whiteboard:
: 1265928 (view as bug list)
Depends On: 1272981
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-09-23 14:41 UTC by Marco Rietveld
Modified: 2020-03-27 19:44 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-03-27 19:44:48 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Marco Rietveld 2015-09-23 14:41:03 UTC
Description of problem:

Certain queries to the /rest/query/task (synonym for the /rest/task/query operation) return a list of TaskSummary instances that contain duplicate TaskSummary's. 

How reproducible:

Always

Steps to Reproduce:
1. Do the above REST operation, in particular with criteria that do not involve the user (process instance id, for example) on a task that references other users or groups besides the user doing the REST operation. 
2. Examine the results. 

Actual results:

Duplicate task summaries. 

Expected results:

Unique task summaries per task id. 


Additional info:

Comment 1 Marco Rietveld 2015-09-23 14:41:35 UTC
This test case happens to be in one of our smoke tests.

Comment 3 Tomas Livora 2015-09-25 07:24:23 UTC
*** Bug 1265928 has been marked as a duplicate of this bug. ***

Comment 4 Tomas Livora 2015-09-25 07:28:59 UTC
Marco, I have noticed this behavior also when querying tasks through SOAP. Can you confirm that it is fixed in both REST and SOAP? I can see that your commit changes some common class that is not directly related to REST interface but I just want to be sure you are aware of the problem being present also in SOAP interface.

Comment 5 Tomas Livora 2015-10-01 07:17:56 UTC
I have noticed another strange behavior when getting tasks this way. When I run a process with a single human task with three actors (mary,john,ibek) and I try to get tasks logged in as ibek, I get this task twice in the result. However, when I am logged in as mary, I get it six times.

Comment 6 Tomas Livora 2015-10-19 11:50:21 UTC
I cannot verify this unless bug 1272981 is fixed.

Comment 7 Tomas Livora 2015-11-04 13:32:26 UTC
The tests that were affected by this bug has passed using both REST and SOAP interface.

Verified on BPMS 6.2.0 ER5


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