better debugging

This commit is contained in:
Peter Hormanns 2017-12-29 18:09:55 +01:00
parent d81734371c
commit e713d988d3

View File

@ -139,7 +139,11 @@ public abstract class AbstractProperty<T> implements Property<T> {
@Override
public void copyValueFromParameterMap(Map<String, Object> rpcParameter) throws TechnicalException, UserException {
setValue(getParameterMapMapper().readValueFromParameterMap(rpcParameter, getName(), owningVO.getType(getName())));
final String propName = getName();
final Class<?> propType = owningVO.getType(propName);
final ParameterMapMapper<T> paramMapMapper = getParameterMapMapper();
final T valueFromParameterMap = paramMapMapper.readValueFromParameterMap(rpcParameter, propName, propType);
setValue(valueFromParameterMap);
}
@Override