[ http://issues.apache.org/jira/browse/BEEHIVE-468?page=history ] Nathan Jantz closed BEEHIVE-468: --------------------------------
Re-running the repro verifies this operator nows works. Closing issue. > When filtering a data grid using operator "isnotempty" an > IllegalFilterException is thrown. > ------------------------------------------------------------------------------------------- > > Key: BEEHIVE-468 > URL: http://issues.apache.org/jira/browse/BEEHIVE-468 > Project: Beehive > Type: Bug > Components: NetUI > Versions: V1Beta > Reporter: Nathan Jantz > Assignee: Nathan Jantz > Fix For: V1 > Attachments: filterOperations.zip > > When filtering on a column of String data types using "isnotempty" ('is not > null' in database) the following exception is produced: > Exception: > org.apache.beehive.netui.databinding.datagrid.api.exceptions.IllegalFilterException: > Found an unknown filter operation > Stack Trace: > org.apache.beehive.netui.databinding.datagrid.api.exceptions.IllegalFilterException: > Found an unknown filter operation > at > org.apache.beehive.netui.databinding.datagrid.runtime.sql.SQLSupport.internalCreateWhereFragment(SQLSupport.java:270) > > at > org.apache.beehive.netui.databinding.datagrid.runtime.sql.SQLSupport.createWhereClause(SQLSupport.java:159) > > at > databinding.datagrid.filtering.filterOperations.Controller.filterGrid(Controller.jpf:218) > > --------------- > I noticed that SQLSupport class internalCreateWhereFragment() method does not > have a switch case for 'isnotempty' operator. It does have a case for > 'isempty' which works fine. > Steps to reproduce: > 1) Run attached repro and filter 'OPENED BY' column using 'isnotempty' > 2) Hit 'Filter Data' button - JSP error is produced. > I will attach a repro here shortly. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira
