Permalink
Browse files
WFCORE-3298: do not try to modify protected nodes
- Loading branch information
|
|
@@ -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. |
|
|
} |
|
|
} |
|
|
} |
|
|
|