[Fix] Allow missing join to not crash report on filter of said join

This commit is contained in:
Robert von Burg 2017-11-02 17:53:49 +01:00
parent ae357346cc
commit b05c3db748
1 changed files with 4 additions and 0 deletions

View File

@ -255,6 +255,10 @@ public class GenericReport extends ReportPolicy {
StrolchRootElement column = row.get(type);
// if column is null, then don't include in result
if (column == null)
return false;
if (fieldRefP.getValue().startsWith("$")) {
String columnValue = evaluateColumnValue(fieldRefP, row);
if (!filterPolicy.filter(columnValue))