[OLINGO-984] Client-Proxy: collection of enums as property not supported
Signed-off-by: Christian Amend <christian.amend@sap.com>
This commit is contained in:
parent
756ae564e5
commit
a757436015
|
@ -597,6 +597,10 @@ public final class CoreUtils {
|
|||
ComplexInvocationHandler.getInstance(itemValue.asComplex(), internalRef, service));
|
||||
|
||||
collection.add(collItem);
|
||||
} else if (itemValue.isEnum()) {
|
||||
collection.add(CoreUtils.enumValueToObject(itemValue.asEnum(), ref));
|
||||
} else {
|
||||
throw new RuntimeException("Unsupported collection item type " + itemValue.getTypeName());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue