CompositeStringExpression doesn't use the ConversionService [SPR-6278] #10945
Labels
in: core
Issues in core modules (aop, beans, core, context, expression)
type: enhancement
A general enhancement
Milestone
Oliver Becker opened SPR-6278 and commented
Method org.springframework.expression.common.CompositeStringExpression.getValue(...) simply calls ObjectUtils.getDisplayString for creating the resulting string.
Since Spring provides a ConversionService, a proper toString TypeConverter should be used instead.
(if canConvert returns true, otherwise use getDisplayString)
Affects: 3.0 RC1
Referenced from: commits 3361de3
The text was updated successfully, but these errors were encountered: