Error in SLDStyleFactory.fillDrawMark()
---------------------------------------

                 Key: GEOT-1843
                 URL: http://jira.codehaus.org/browse/GEOT-1843
             Project: GeoTools
          Issue Type: Bug
    Affects Versions: 2.4.4
         Environment: Windows XP, Java 1.6
            Reporter: Manuele Ventoruzzo
         Attachments: patch.java

The method *fillDrawMark()* doesn't pass feature parameter to the methods like 
*getPaint()*, *getComposite()* etc. that request the feature as 2nd parameter.
Instead, it's passed _null_.

The consequence is that expression using marks cannot use feature attributes.

The problem can be solved simply adding _"feature"_ to all those method calls. 

In attachment there's a corrected version of *fillDrawMark* method.

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

        

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Geotools-devel mailing list
Geotools-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to