[ 
http://jira.codehaus.org/browse/GEOT-1151?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Gabriel Roldán reopened GEOT-1151:
----------------------------------


Just found that Expressions other than AttributeExpressionImpl are ignoring the 
Object case and always returning null:

DefaultExpression.evaluate(Object), which does:

  public Object evaluate(Object object) {
        if (object instanceof Feature || object == null) {
                return evaluate((Feature)object);
        }
        return null;
    }
    


> Support ISO Feature (and actually Object) on Filter.evaluate(Object)
> --------------------------------------------------------------------
>
>                 Key: GEOT-1151
>                 URL: http://jira.codehaus.org/browse/GEOT-1151
>             Project: GeoTools
>          Issue Type: Improvement
>          Components: core filter
>    Affects Versions: 2.4.M0
>            Reporter: Gabriel Roldán
>         Assigned To: Gabriel Roldán
>            Priority: Critical
>             Fix For: 2.4.M0
>
>
> Filter.evaluate(Object) is meant to support any kind of object, not just 
> {{org.geotools.filter.Filter}}.
> Right now, passing anything but a geotools Filter ends on 
> {{FilterAbstract.evaluate(Object)}} consistently returning false.
> Yet, the introduction of {{PropertyAccessor}} was meant exactly to enable 
> this kind of interoperability, seems that just the missing piece is teaching 
> the different Filters to not underestimate {{evaluate(Object)}}

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to