Bug 1071944

Summary: REST /task/query operation throws exception when given *no* parameters
Product: [Retired] JBoss BPMS Platform 6 Reporter: Marco Rietveld <mrietvel>
Component: Business CentralAssignee: Marco Rietveld <mrietvel>
Status: CLOSED DUPLICATE QA Contact: Marek Baluch <mbaluch>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.0.1CC: abhumbe, kverlaen, mrietvel, rrajasek, smcgowan
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-03-04 14:43:49 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Marco Rietveld 2014-03-03 14:15:32 UTC
Description of problem:

The REST /task/query operation throws an exception when given *no* parameters. 

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

6.0.1.ER2

How reproducible:

Always

Steps to Reproduce:
0. (optional first step): start a process that creates/adds a task
1. Call the /task/query operation without any parameters:
- http://server:host/business-central/rest/task/query

Actual results:

An exception is thrown on the server side and no response is returned. 

Expected results:

A list of all available tasks in the form of a JaxbTaskSummaryListResponse object (xml or json). 

Additional info:

Comment 1 Marco Rietveld 2014-03-04 14:43:49 UTC
Bug id also attached to BZ-1071850. 

See https://bugzilla.redhat.com/show_bug.cgi?id=1071850 for further updates.

*** This bug has been marked as a duplicate of bug 1071850 ***