From 5905663c58b5e0fd42a0343b0575d5ae856a1d40 Mon Sep 17 00:00:00 2001 From: Greg Burd Date: Wed, 1 Nov 2017 14:24:03 -0400 Subject: [PATCH] Cached values were being updated to their database-specific values (Enum -> String) rather than their intended values. --- .../java/net/helenus/core/operation/UpdateOperation.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/java/net/helenus/core/operation/UpdateOperation.java b/src/main/java/net/helenus/core/operation/UpdateOperation.java index 80b3b9c..8f1926e 100644 --- a/src/main/java/net/helenus/core/operation/UpdateOperation.java +++ b/src/main/java/net/helenus/core/operation/UpdateOperation.java @@ -91,8 +91,8 @@ public final class UpdateOperation extends AbstractFilterOperation extends AbstractFilterOperation map = ((MapExportable) pojo).toMap(); if (!(map instanceof ValueProviderMap)) { - if (map.get(key) != value) { - map.put(key, value); + if (map.get(key) != v) { + map.put(key, v); } } }