Handled Enum while merging profiles
Fixed UNOMI_261 - Unable to update consent status through cxs/profiles endpoint
@@ -1023,6 +1023,9 @@ public class ProfileServiceImpl implements ProfileService, SynchronousBundleList
target.put(newEntry.getKey(), newEntry.getValue());
changed = true;
}
+ } else if(newEntry.getValue().getClass().isEnum()) {
+ target.put(newEntry.getKey(), newEntry.getValue());
+ changed = true;
}else {
if (target.get(newEntry.getKey()) != null) {
changed |= merge(target.get(newEntry.getKey()), newEntry.getValue());
