You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@beehive.apache.org by "Eddie O'Neil (JIRA)" <be...@incubator.apache.org> on 2005/03/28 23:26:18 UTC
[jira] Resolved: (BEEHIVE-468) When filtering a data grid using operator "isnotempty" an IllegalFilterException is thrown.
[ http://issues.apache.org/jira/browse/BEEHIVE-468?page=history ]
Eddie O'Neil resolved BEEHIVE-468:
----------------------------------
Assign To: Nathan Jantz (was: Eddie O'Neil)
Resolution: Fixed
Fixed in SVN 159312. The SQLSupport for "isnotempty" wasn't correctly implemented. Added this case to the switch and broke it out of "isempty".
> 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