-
Notifications
You must be signed in to change notification settings - Fork 618
Databand or Subreport lost dataconnection after close preview in designer. Report show olny first row of data array, with JSON datasource type #750
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
this is a Report File: |
Hello! In the problematic variant, are you creating the report via code or uploading an already created report using the desktop designer? Also could you please specify the version of FastReport OpenSource you are using? Best regards, |
uploading an already created report using the desktop designer. ver. 2025.2.0 |
When preparing a report in the desktop version of FastReport OpenSource and then uploading it to FastReport OpenSource Web, the same problem was not reproduced on the report with your data, I am sending the report below. Best regards, |
Describe the bug
I set the data connection on the databand to the array m7302_docs present in my json after the preview is lost. If I try to use the report, on the databand/subreport I see only the first row of the array m7302_docs
To Reproduce
Use this JSON as jsonDataSourceConnection
{
"AF": {
"Anagrafica": {
"ana_id": 262863,
"ana_owner": "UBQT-MASTER",
"ana_cf": "AAABBB11CC22D123E",
"ana_titolo": "Sig.",
"ana_nome": "NOME",
"ana_cognome": "COGNOME",
"ana_genere": "M",
"ana_nascita_data": "1972-08-24T00:00:00",
"ana_nascita_paese": "IT",
"ana_nascita_luogo": "Palermo",
"ana_nascita_prov": "PA",
"ana_cittadinanza": "ITA",
"ana_statocivile": "SPOSATO",
"ana_sd_insert": "UBQT-AUTO",
"ana_sd_insert_data": "2025-03-04T07:37:35",
"ana_sd_lastupdate": "UBQT-MASTER",
"ana_sd_lu_data": "2025-03-04T07:39:52",
"ana_status": "OK",
"ana_nota": "",
"ana_ambiente": "D"
},
"AnagraficaConiuge": {
"ana_id": 300083,
"ana_owner": "UBQT-MASTER",
"ana_cf": "BBBAAA33C44D123E",
"ana_titolo": "",
"ana_nome": "NOME1 NOME2",
"ana_cognome": "COGNOME",
"ana_genere": "F",
"ana_nascita_data": "1973-02-19T00:00:00",
"ana_nascita_paese": "IT",
"ana_nascita_luogo": "BAGHERIA",
"ana_nascita_prov": "PA",
"ana_cittadinanza": "ITA",
"ana_statocivile": "",
"ana_sd_insert": "g",
"ana_sd_insert_data": "2025-04-17T09:06:52",
"ana_sd_lastupdate": "g",
"ana_sd_lu_data": "2025-04-17T09:06:52",
"ana_status": "OK",
"ana_nota": "",
"ana_ambiente": "D"
},
"Residenza": {
"ind_id": 4,
"ind_ana_cf": "AAABBB11CC22D123E",
"ind_owner": "UBQT-MASTER",
"ind_tipo": "RESIDENZA",
"ind_preferito": true,
"ind_indirizzo": "Via Rossi, 55",
"ind_indirizzo2": "",
"ind_cap": "90100",
"ind_citta": "Palermo",
"ind_prov": "PA",
"ind_stato": "IT",
"ind_sd_insert": "UBQT-MASTER",
"ind_sd_insert_data": "2024-07-14T15:38:40",
"ind_sd_lastupdate": "UBQT-MASTER",
"ind_sd_lu_data": "2025-03-18T03:59:25",
"ind_ambiente": "D"
},
"Cellulare": {
"rec_id": 124839,
"rec_ana_cf": "AAABBB11CC22D123E",
"rec_owner": "UBQT-MASTER",
"rec_tipo": "MOBILE",
"rec_value": "+39111111111",
"rec_nota": "",
"rec_preferito": true,
"rec_sd_insert": "g",
"rec_sd_insert_data": "2024-11-21T07:12:37",
"rec_sd_lastupdate": "g",
"rec_sd_lu_data": "2025-03-05T05:05:33",
"rec_ambiente": "D"
},
"Email": {
"rec_id": 124856,
"rec_ana_cf": "AAABBB11CC22D123E",
"rec_owner": "UBQT-MASTER",
"rec_tipo": "EMAIL",
"rec_value": "[email protected]",
"rec_nota": "",
"rec_preferito": true,
"rec_sd_insert": "g",
"rec_sd_insert_data": "2025-02-02T15:30:08",
"rec_sd_lastupdate": "g",
"rec_sd_lu_data": "2025-02-08T11:21:40",
"rec_ambiente": "D"
},
"CartaServizi": {
"cs_id": 1,
"cs_owner": "UBQT-MASTER",
"cs_ana_cf": "AAABBB11CC22D123E",
"cs_card_nr": "20191323",
"cs_card_titolare_nome": "Nome Cognome",
"cs_card_titolare_cf": "AAABBB11CC22D123E",
"cs_scadenza": "2025-12-31",
"cs_anno": "2025",
"cs_tipo": "TESS25",
"cs_costo": 25,
"cs_sd_insert": "g",
"cs_sd_insert_data": "2025-02-27T00:00:00",
"cs_sd_lastupdate": "g",
"cs_sd_lu_data": "2025-03-03T15:57:20",
"cs_ambiente": "D"
},
"DocumentoRiconoscimento": {
"dr_id": 1,
"dr_owner": "UBQT-MASTER",
"dr_ana_cf": "AAABBB11CC22D123E",
"dr_tipo": "PASSAPORTO",
"dr_numero": "YB0000000",
"dr_emettitore": "MIN. ESTERI",
"dr_dt_emissione": "2018-01-26",
"dr_dt_scadenza": "2028-01-25",
"dr_sd_insert": "g",
"dr_sd_insert_data": "2025-03-02T15:36:19",
"dr_sd_lastupdate": "g",
"dr_sd_lu_data": "2025-03-25T11:21:58",
"dr_ambiente": "D"
},
"InfoSede": {
"sd_codice": "UBQT",
"sd_gruppo": "MASTER",
"sd_codice_intero": "UBQT-MASTER",
"sd_codice_padre": "",
"sd_cf": "AAABBB11CC22D123E",
"sd_piva": "IT00000000000",
"sd_tipo": "9999",
"sd_ragsoc": "Ubiqueuety",
"sd_nome": "Portal",
"sd_cognome": "ADM",
"sd_status": "OK",
"sd_ig_remoteid": 0,
"sd_email": "[email protected]",
"sd_cell": "+3922222222222",
"sd_smssender": "Ubiqueuety",
"sd_ambiente": "D",
"sd_ecdr": "S",
"sd_descrig": "",
"sd_rao_nominativo": "",
"sd_sd_insert": "UBQT-AUTO",
"sd_sd_insert_data": "2025-02-26T09:07:20",
"sd_sd_lastupdate": "g",
"sd_sd_lu_data": "2025-02-26T10:23:28"
}
},
"DA": {
"m7302_annoredditi": 2024,
"m7302_congiunto": true,
"m7302_730Integrativo": false,
"m7302_datapresentazione": "1972-08-24"
},
"m7302_docs": [
{
"Tipo Documento": "sc",
"Nr Documenti": 1,
"Tot Importo": 11
},
{
"Tipo Documento": "ft",
"Nr Documenti": 2,
"Tot Importo": 22
}
]
}
The text was updated successfully, but these errors were encountered: