Patch - Better null handing in Filter Literals
-----------------------------------------------
Key: GEOT-1055
URL: http://jira.codehaus.org/browse/GEOT-1055
Project: GeoTools
Issue Type: Bug
Affects Versions: 2.2.0
Environment: all
Reporter: david blasby
Attachments: handle_empty_strings_better.patch
Currently if you have a <Literal></Literal> or a <Literal>...one or more
spaces...</Literal> in your Filter, the Literal gets replaced with a null.
This causes all sorts of problems.
This patch changes the parser so that it will create a literal with an empty
string instead of a NULL object.
Currently you cannot create literals that are empty strings or just containing
white space.
People who are using it to do null checks should be using a "<PropertyIsNull>"
check, NOT converting perfectly good strings to nulls.
--
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
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel