[Geoserver-devel] [jira] (GEOS-4954) Legend Graphic fails when numberformat function in Label

Blake Crosby created GEOS-4954:
----------------------------------

             Summary: Legend Graphic fails when numberformat function in Label
                 Key: GEOS-4954
                 URL: https://jira.codehaus.org/browse/GEOS-4954
             Project: GeoServer
          Issue Type: Bug
    Affects Versions: 2.0.3
            Reporter: Blake Crosby
            Assignee: Andrea Aime
            Priority: Minor

Using the following in a label for a rule results in a java exception.

<Label>
<ogc:Function name="numberFormat">
  <ogc:Literal>##</ogc:Literal>
  <ogc:PropertyName>temp</ogc:PropertyName>
</ogc:Function>&#xB0;C
</Label>

Exception:

     java.lang.IllegalArgumentException: Filter Function problem for function strConcat argument #0 - expected type String Filter Function problem for function strConcat argument #0 - expected type String

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira