[Fix] Allow missing join to not crash report on filter of said join
This commit is contained in:
parent
ae357346cc
commit
b05c3db748
|
@ -255,6 +255,10 @@ public class GenericReport extends ReportPolicy {
|
||||||
|
|
||||||
StrolchRootElement column = row.get(type);
|
StrolchRootElement column = row.get(type);
|
||||||
|
|
||||||
|
// if column is null, then don't include in result
|
||||||
|
if (column == null)
|
||||||
|
return false;
|
||||||
|
|
||||||
if (fieldRefP.getValue().startsWith("$")) {
|
if (fieldRefP.getValue().startsWith("$")) {
|
||||||
String columnValue = evaluateColumnValue(fieldRefP, row);
|
String columnValue = evaluateColumnValue(fieldRefP, row);
|
||||||
if (!filterPolicy.filter(columnValue))
|
if (!filterPolicy.filter(columnValue))
|
||||||
|
|
Loading…
Reference in New Issue