Skip to content

armgit / core

Public Imported from GitHub
0

100% open-source IoT Platform - Integrate your devices, add intelligence, build custom apps

#10 fix for surveys with empty category answer values

Michael Rademaker5e385ac5d136
diff --git a/model/src/main/java/org/openremote/model/value/impl/ValueUtil.java b/model/src/main/java/org/openremote/model/value/impl/ValueUtil.java
index 0fc9a1d43..7e19f3053 100644
--- a/model/src/main/java/org/openremote/model/value/impl/ValueUtil.java
+++ b/model/src/main/java/org/openremote/model/value/impl/ValueUtil.java
@@ -138,7 +138,7 @@ public class ValueUtil {
@Override
public boolean visitKey(String key, ValueContext ctx) {
if ("".equals(key)) {
- return true;
+ return false;
}
// skip properties injected by GWT runtime on JSOs
if (skipKeys.contains(key)) {