Merge pull request #7319 from APriestman/8073_fixReportNPE

8073 Don't attempt to filter content with no data source in table report module.
This commit is contained in:
eugene7646 2021-09-30 17:29:57 -04:00 committed by GitHub
commit 5784b420f8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1826,6 +1826,10 @@ class TableReportGenerator {
return false;
}
if (content.getDataSource() == null) {
return false;
}
long dataSourceId = content.getDataSource().getId();
return !this.settings.getSelectedDataSources().contains(dataSourceId);
}