CSS attributes with expression and unit strings not working

Description

Styling a line vector according to an attribute value (eg. here ac_average) is not working. E.g:

The m for meter seems to cause problems, as it works without the m and just 1000m (no expression) also works. What am I missing? The documentation explains that this should work: "When using expressions in place of numeric values, the first unit listed for the type of measure is assumed."

In the meantime Andrea provides the following workaround work around:

Tested against topp:states seems to work.

Environment

Geoserver 2.12.1
Tomcat 7

Assignee

Andrea Aime

Reporter

Michel W

Triage

Fix versions

Affects versions

None

Components

Priority

Low
Configure