Can a filter component be added to a child table in a composite relationship exists? In other words, Can I add a filter component to the Orders table on my Customer editor screen?
I am trying but I keep getting an error when I try to add a search condition.
java.lang.NullPointerException: query is null
at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:228)
at com.haulmont.cuba.core.sys.jpql.QueryTreeAnalyzer.prepare(QueryTreeAnalyzer.java:50)
at com.haulmont.cuba.core.sys.jpql.QueryTreeAnalyzer.prepare(QueryTreeAnalyzer.java:46)
at com.haulmont.cuba.core.global.QueryParserAstBased.getQueryAnalyzer(QueryParserAstBased.java:78)
at com.haulmont.cuba.core.global.QueryParserAstBased.getEntityAlias(QueryParserAstBased.java:119)
...
I assigned the table to the filter attribute (applyTo) and the nested datasource to the filter attribute (datasource). I would just like confirmation if this is not possible before I spend any more time on it. Thanks.