better debugging
This commit is contained in:
parent
d81734371c
commit
e713d988d3
@ -139,7 +139,11 @@ public abstract class AbstractProperty<T> implements Property<T> {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void copyValueFromParameterMap(Map<String, Object> rpcParameter) throws TechnicalException, UserException {
|
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
|
@Override
|
||||||
|
Loading…
Reference in New Issue
Block a user