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