You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
DefaultConversionService does not support converting a Map to an Object
The expectation is to return the original object unchanged (a no-op conversion).
Instead, null is returned.
@Test
public void testMapToObjectConversionBug() {
final DefaultConversionService conversionService = new DefaultConversionService();
final Map<Object, Object> raw = new HashMap<Object, Object>();
raw.put("key", "value");
final Object converted = conversionService.convert(raw, Object.class);
Assert.assertSame(raw, converted);
}
Affects: 3.0 RC2
The text was updated successfully, but these errors were encountered:
Lance Arlaus opened SPR-6476 and commented
DefaultConversionService does not support converting a Map to an Object
The expectation is to return the original object unchanged (a no-op conversion).
Instead, null is returned.
Affects: 3.0 RC2
The text was updated successfully, but these errors were encountered: