Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/org.eclipse.osee.orcs.db/src/org/eclipse/osee/orcs/db/internal/proxy/VarCharDataProxy.java8
1 files changed, 7 insertions, 1 deletions
diff --git a/plugins/org.eclipse.osee.orcs.db/src/org/eclipse/osee/orcs/db/internal/proxy/VarCharDataProxy.java b/plugins/org.eclipse.osee.orcs.db/src/org/eclipse/osee/orcs/db/internal/proxy/VarCharDataProxy.java
index 68b5d1a1bfb..26621351c7b 100644
--- a/plugins/org.eclipse.osee.orcs.db/src/org/eclipse/osee/orcs/db/internal/proxy/VarCharDataProxy.java
+++ b/plugins/org.eclipse.osee.orcs.db/src/org/eclipse/osee/orcs/db/internal/proxy/VarCharDataProxy.java
@@ -68,7 +68,13 @@ public class VarCharDataProxy extends AbstractDataProxy implements CharacterData
@Override
public boolean setValue(Object value) throws OseeCoreException {
boolean response = false;
- Object currentValue = getValue();
+ Object currentValue;
+ if (value instanceof String) {
+ currentValue = getValueAsString();
+ } else {
+ currentValue = getValue();
+ }
+
if (currentValue == value || currentValue != null && currentValue.equals(value)) {
response = false;
} else {

Back to the top