DuplicatingStyleVisitor ignores that Geometry can be any Expression and only copies simple Property-Expressions ---------------------------------------------------------------------------------------------------------------
Key: GEOT-3096 URL: http://jira.codehaus.org/browse/GEOT-3096 Project: GeoTools Issue Type: Bug Components: core styling Affects Versions: 2.6.4 Reporter: Stefan Alfons Krüger Fix For: 2.6.5 Attachments: duplicateGeometryFunctions.patch, duplicateGeometryFunctionsTests.patch If you set a function as geoemtry (as features here: http://blog.geoserver.org/2010/03/17/extending-your-map-styling-with-geometry-transformations/comment-page-1/#comment-73441) and use the DuplicatingStyleVisitor on that symbolizer it, it copies the geometry-function to null! UnitTests for all 5 Symbolizers included. Fixes also included. Because http://svn.osgeo.org is down now, i patched against a 14-days old version of the 2.6.x branch. But i experienced the bug in the 2.6.4 release (which is onyl a few days old). So i suppose the bug is still alive. -- 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 ------------------------------------------------------------------------------ _______________________________________________ Geotools-devel mailing list Geotools-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geotools-devel