[#13851] - one JRBeanCollectionDataSource in many components

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

in Java create JRBeanCollectionDataSource from collection and put in to report params
in report:
subdataset

components:
list,chart1,chart2,chart3

all components using subdataset and JRBeanCollectionDataSource param
Evaluation time: Now

chart1 render normaly
chart2,chart3 and list content don't render

behavior is like InputStream (read once then need reset cursor)
------------------------------------------------------------------------------------
if Java put in to report params collection and use in components
new JRBeanCollectionDataSource(collection)
all works as needed

i think make new JRBeanCollectionDataSource from the same collection for each component is bad idea
we don't have any other solve now

fix it plz

v6.17.0
Z@C's picture
Z@C
16
Joined: Oct 6 2015 - 4:22am
Last seen: 4 days 17 hours ago
Feedback