Skip to content
Permalink
Browse files

WFCORE-3298: do not try to modify protected nodes

  • Loading branch information
michpetrov committed Apr 15, 2019
1 parent 245593b commit 0d4059b79850503ec612e7717faeb119a599be57
@@ -234,10 +234,8 @@ public void validateParameter(String parameterName, ModelNode value) throws Oper
throw ControllerLogger.ROOT_LOGGER.invalidEnumValue(tuString, parameterName, toStringMap.keySet());
}
// Hack to store the allowed value in the model, not the user input
try {
if (!value.isProtected()) {
value.set(enumValue.toString());
} catch (Exception e) {
// node must be protected.
}
}
}

0 comments on commit 0d4059b

Please sign in to comment.
You can’t perform that action at this time.