FastReports / FastReport

Free Open Source Reporting tool for .NET6/.NET Core/.NET Framework that helps your application generate document-like reports

Home Page:https://www.fast-report.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

FastReport.Community.2023.2.0 broken for json

dex252 opened this issue · comments

commented

Describe the bug
List box, object from json data source not rendering properly

To Reproduce
Steps to reproduce the behavior:

  1. create a json file report.json
  2. Run Designer.exe in FastReport.Community.2023.2.0
  3. Go to the Data tab and right-click on DataSource => New Data Source
  4. Select new connection, specify the JSON Database connection type, select the previously created report.json file
  5. Click next, on the Data Wizard tab expand the list of fields
  6. The Info field is represented as a number, not a list

Expected behavior
The field information must be a list, not a number. The same thing happens if Info is an object

Screenshots
bug(?):
11
json:
22
Json in text:
{
"documents": [{
"DocumentDate": "09.09.2023",
"LastName": "Korgi",
"FirstName": "Dog",
"MiddleName": "Dog",
"Info": [{
"Company": "IBM",
"CountActions": 2500,
"Cost": "28.13",
"TransactionDate": "09.09.2023 18:05:15"
}
]
}
]
}

Device (please complete the following information):

  • Windows 10 Home Edition

Hello!

To solve your problem, please install FastReport.OpenSource 2023.3.0 version.

Screenshot of correct work:

image

Best regards,
Bogdan