Hello,
We are using SchemaAwareJsonDataProvider in List&Label Cross Platform.
In some cases we don’t have any data for a table so we send an empty array in the data source. In this case the export fails with an error:
System.NullReferenceException: Object reference not set to an instance of an object.
Sending an empty object will make the export work:
{
"Kosten": [
{}
]
}
But this will print the string fields of the table as “(NULL)” values:
The same happens when sending an item with null values:
"Kosten" : [
{
"In_Nachkalkulation_beruecksichtigen" : null,
"Dms_Rechnungsnummer" : null,
"Betrag" : null,
"Firma" : null,
"Folgenummer" : null,
"In_Verkaufskalkulation_beruecksichtigen" : null,
"Filiale" : null
}
]
If empty strings are sent for string fields:
"Kosten" : [
{
"In_Nachkalkulation_beruecksichtigen" : null,
"Dms_Rechnungsnummer" : "",
"Betrag" : null,
"Firma" : "",
"Folgenummer" : null,
"In_Verkaufskalkulation_beruecksichtigen" : null,
"Filiale" : ""
}
]
Then no rows are shown which looks better:
I compared the result with the List&Label Classic version, and all in these cases it doesn’t show the table, which would be the expected result.
We thought that maybe Tables are still under development in Cross Platform and this might be the reason for this difference. Or do you think this is a bug instead?
It was tested with version: 31.1.0-stable.186
Unrelated to this, for the Cross Platform features in general, is there a roadmap available where we could check which features are already supported?
Thanks in advance,
Andras

