Skip to content
Snippets Groups Projects
Commit 04fad293 authored by PICHON's avatar PICHON
Browse files

Bug correction for write part reading.

parent ab8cea2e
No related branches found
No related tags found
No related merge requests found
......@@ -172,8 +172,8 @@ public final class DynamicAttributeParser implements IWriteLockAttributeBehaviou
public void refreshValue(final boolean lock) throws DevFailed {
try {
logger.debug("refresh value for attribute {}", config.getName());
String name = config.getName();
logger.debug("refresh value for attribute {}", name);
Object result;
if (jepParserRead != null) {
result = jepParserRead.getValue(lock);
......@@ -246,6 +246,10 @@ public final class DynamicAttributeParser implements IWriteLockAttributeBehaviou
@Override
public AttributeValue getSetValue() throws DevFailed {
if (writeValue != null) {
return new AttributeValue(writeValue);
} else {
return null;
}
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment