correctly handle ParseException from Formatter for String->String case (SPR-8944)
This commit is contained in:
parent
3d5e245374
commit
d331c5d1c9
|
@ -244,7 +244,7 @@ class TypeConverterDelegate {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (firstAttemptEx != null) {
|
if (firstAttemptEx != null) {
|
||||||
if (editor == null) {
|
if (editor == null && convertedValue == newValue) {
|
||||||
throw firstAttemptEx;
|
throw firstAttemptEx;
|
||||||
}
|
}
|
||||||
logger.debug("Original ConversionService attempt failed - ignored since " +
|
logger.debug("Original ConversionService attempt failed - ignored since " +
|
||||||
|
|
Loading…
Reference in New Issue