Bug 1198397 - Remote API / Human-Task query methods do not find tasks without an actual owner
Summary: Remote API / Human-Task query methods do not find tasks without an actual owner
Alias: None
Product: JBoss BPMS Platform 6
Classification: Retired
Component: Business Central
Version: 6.1.0
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
: ---
Assignee: Marco Rietveld
QA Contact: Marek Baluch
Depends On:
TreeView+ depends on / blocked
Reported: 2015-03-04 01:46 UTC by Marco Rietveld
Modified: 2016-09-20 05:06 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2015-03-04 03:10:48 UTC
Type: Bug

Attachments (Terms of Use)

Description Marco Rietveld 2015-03-04 01:46:48 UTC
Description of problem:

When querying tasks which do not have an actual owner by using  
- the /rest/task/query, 
- or TaskService.getTasksByVariousFields(...) method (which the REST operation depends on)
these methods will not find the tasks in question. 

Version-Release number of selected component (if applicable):

How reproducible:


Steps to Reproduce:
1. Create a task that does not have an actual owner
2. Query the tasks using a valid criteria (process instance id, for example) 
3. Check the results

Actual results:

No tasks are returned.

Expected results:

The correct tasks are returned. 

Additional info:

Comment 1 Marco Rietveld 2015-03-04 01:48:15 UTC
This bug means that there are cases in which the user will not be able find the task created by a process instance.

Comment 3 Marco Rietveld 2015-03-04 03:10:48 UTC
My apologies: somehow, 2 different tests both failed repeatedly during the same hour, after which both started passing again. 

This bug somehow magically disappeared after an hour of looking into it.

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