Bug 1034720

Summary: A language property is missing for task query in REST and new GetTasksByVariousFieldsCommand
Product: [Retired] JBoss BPMS Platform 6 Reporter: Ivo Bek <ibek>
Component: Business CentralAssignee: Marco Rietveld <mrietvel>
Status: CLOSED CURRENTRELEASE QA Contact: Ivo Bek <ibek>
Severity: high Docs Contact:
Priority: high    
Version: 6.0.0CC: kverlaen, mrietvel, smcgowan
Target Milestone: ER6   
Target Release: 6.0.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-08-06 20:11:57 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:

Description Ivo Bek 2013-11-26 11:55:47 UTC
Description of problem:

When I want to use language property which was supported in previous version, I receive:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<response>
    <status>BAD_REQUEST</status>
    <url>/business-central/rest/task/query?processInstanceId=31&amp;language=en-UK</url>
    <error>language is an unknown and unsupported query param for the task query operation.</error>
</response>

Actually the language property isn't in taskQuery method here https://github.com/droolsjbpm/droolsjbpm-integration/blob/master/kie-remote/kie-services-remote/src/main/java/org/kie/services/remote/rest/TaskResource.java#L117 and it will be necessary to add it also to GetTasksByVariousFieldsCommand which is used in the taskQuery method.

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


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 2 Ivo Bek 2014-01-06 13:19:59 UTC
Verified in BPMS 6.0.0.ER7