From e34843c21dda2ecaf1ee972b59a7c21d40f029c7 Mon Sep 17 00:00:00 2001 From: Peter Hormanns Date: Wed, 17 Aug 2016 19:24:41 +0200 Subject: [PATCH] fix error --- .../src/main/java/de/hsadmin/module/impl/AbstractProperty.java | 3 ++- .../java/de/hsadmin/module/property/StringSetProperty.java | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/framework/src/main/java/de/hsadmin/module/impl/AbstractProperty.java b/framework/src/main/java/de/hsadmin/module/impl/AbstractProperty.java index 99de592..a8e0ab2 100644 --- a/framework/src/main/java/de/hsadmin/module/impl/AbstractProperty.java +++ b/framework/src/main/java/de/hsadmin/module/impl/AbstractProperty.java @@ -22,7 +22,8 @@ public abstract class AbstractProperty implements Property { private PersistentObjectMapper persistentObjectMapper; private ParameterMapMapper parameterMapMapper; - private boolean undefinedValue; + + protected boolean undefinedValue; public AbstractProperty( final ValueObject owner, diff --git a/framework/src/main/java/de/hsadmin/module/property/StringSetProperty.java b/framework/src/main/java/de/hsadmin/module/property/StringSetProperty.java index a393a14..7477abc 100644 --- a/framework/src/main/java/de/hsadmin/module/property/StringSetProperty.java +++ b/framework/src/main/java/de/hsadmin/module/property/StringSetProperty.java @@ -37,6 +37,7 @@ public class StringSetProperty extends AbstractProperty { @Override public void setValue(final StringSet value) throws TechnicalException { + undefinedValue = false; ReflectionUtil.invokeSetter(owningVO, getName(), value.getStrings()); }