BeanWrapperImpl.setPropertyValue throws InvalidPropertyException with correct property value for nested collection case

Issue: SPR-12866
This commit is contained in:
Juergen Hoeller 2015-03-31 10:03:00 +02:00
parent d05fc2ed9c
commit e377fc003d
1 changed files with 1 additions and 1 deletions

View File

@ -1055,7 +1055,7 @@ public class BeanWrapperImpl extends AbstractPropertyAccessor implements BeanWra
else { else {
throw new InvalidPropertyException(getRootClass(), this.nestedPath + propertyName, throw new InvalidPropertyException(getRootClass(), this.nestedPath + propertyName,
"Property referenced in indexed property path '" + propertyName + "Property referenced in indexed property path '" + propertyName +
"' is neither an array nor a List nor a Map; returned value was [" + pv.getValue() + "]"); "' is neither an array nor a List nor a Map; returned value was [" + propValue + "]");
} }
} }