[#3157] - Error when passing Collection as parameter in REST

Category:
Bug report
Priority:
High
Status:
New
Project: Severity:
Major
Resolution:
Open
Component: Reproducibility:
Always
Assigned to:

Unable to pass collection as report parameter using REST api.

Resource descriptor has the following parameter declaration:

<parameter name="_personId" isListValue="true">1</parameter>
<parameter name="_personId" isListValue="true">2</parameter>

Executing the report generates the following erro:

`Invalid type java.lang.String for parameter _personId used in an IN clause; the value must be an array or a collection.`

The documentation clearly states: 'Lists can be passed using parameters with the same name and the isListValue attribute set to true.', so I'm assuming this is a bug on the REST api.

v5.0
Rest v2 report API
felipegdr's picture
108
Joined: Apr 20 2012 - 3:51am
Last seen: 6 years 5 months ago
Feedback