PreparedFilterToSql fails if visit context is not a Class
---------------------------------------------------------

                 Key: GEOT-2047
                 URL: http://jira.codehaus.org/browse/GEOT-2047
             Project: GeoTools
          Issue Type: Improvement
          Components: data h2
    Affects Versions: 2.5.0
            Reporter: Andrea Aime
            Assignee: Andrea Aime
             Fix For: 2.5.0, 2.6-M0


This happens if there is a logic filter as a parent of any literal element, as 
FilterToSql will set the context to the SQL operator that performns the desired 
operation (e.g., org.opengis.filter.And -> "AND"). While it's open to 
discussion whether FilterToSql is doing the right thing there, there's no doubt 
that PreparedFilterToSql should not assume the context being a specific class 
type.

-- 
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

        

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to