Details
-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
3.0.0.Beta28
-
None
Description
When creating a new subsystem attribute and using .setAllowedValues() as in the below example:
public static final SimpleAttributeDefinition CACHE_TYPE = new SimpleAttributeDefinitionBuilder(Constants.CACHE_TYPE, ModelType.STRING, true) .setAllowExpression(true) .setAllowedValues("default", "infinispan") .build();
The model is not validated, leading to invalid values on the model.