[#4963] - " Refresh Preview Data " button fails with DataSource Provider

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

In 3.7.5, the "get fields from datasource" button was fixed.
However, now the refresh preview data button is inop.
The issue, I believe, is the instead of using the field name string to retreive the data from the datasource, the description string is used instead.
So if the field info was:
Field Name: address
Field Type: com.jaspersoft.ireport.examples.beans.AddressBean
Description: <empty>

IReport should try to use the method getAddress (get and the name of the field) instead it seems to use the method get (get and the description string which is the empty string).

This also happens with the " preview " report button when using a Datasource Provider.

I've tried the example DataSource Provider and a couple of mine. They all work the same way.

3.7.5 and 3.7.6 both do this.

brian@akorri.com's picture
Joined: May 3 2007 - 11:16am
Last seen: 14 years 4 months ago
Feedback
randomness